blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
816b827c308cc1687088551352c258213188b85b | f9f328aaccae52925561d4dc48f419f7829da057 | /Day2/2c_Uncertainty/likeprof/agestructured/AS.R | 5895056440c023218877c8ba187c8d6786a48a81 | [] | no_license | commfish/ADMB_course | 70d4fb9a61aefd116b48b90e2f05cd93a49b3c6e | 20e96eccddea6093b438a253ad94052e231e8071 | refs/heads/master | 2021-04-15T04:42:59.179600 | 2018-03-19T18:46:59 | 2018-03-19T18:46:59 | 126,224,729 | 0 | 1 | null | 2018-03-21T18:39:37 | 2018-03-21T18:39:36 | null | UTF-8 | R | false | false | 504 | r | AS.R | wd <- "C:\\merrill\\ADMB_course"
project_dir <- file.path(wd, "Day2", "2c_Uncertainty", "likeprof", "agestructured")
setwd(project_dir)
### read in results from report file using code in tools.R
source(file.path(wd, "tools.R"))
library(R2admb)
compile_admb("AS1")
run_admb("AS1", extra.args="-lprof")
## read in likel... |
fcb7731b0f40b95e44ea8a0cff928af05a7d4fa4 | 8ec8caa9c6fb399082090da94d7fa948b6764417 | /man/updateModel.Rd | c66ca7135eaa736eec368fc4d1495aab684804f9 | [] | no_license | albert3858/mlr | 05f910fb35f4c9467a91d0732c86a687faa00eee | e410f6ec1d33926b5e4bf1d14552694337fab5c9 | refs/heads/master | 2021-01-22T02:28:28.186539 | 2016-11-03T05:32:54 | 2016-11-03T05:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,651 | rd | updateModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/updateModel.R
\name{updateModel}
\alias{updateModel}
\title{Update a model}
\usage{
updateModel(object, task, newdata, subset, weights = NULL, ...)
}
\arguments{
\item{object}{[\code{\link{WrappedModel}}]\cr
Wrapped model, result of \code{\li... |
ccbb27a4d0b85f3d542d8dd80fc9c66789e849ba | d2d436a02b15ad5e529c58f658d644d3f4b04346 | /hospitaldata/best.R | 39977b7d0b6c0891be1cff73f97b0ed42a5b147e | [] | no_license | unullmass/RProgramming | 8bcfd2257752b2ca017905f4c9917fec12619df4 | 54966a9f02a88868fb4b0cba66124581f90c9ded | refs/heads/master | 2021-01-10T02:06:37.338850 | 2015-10-01T04:39:41 | 2015-10-01T04:39:41 | 43,478,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,706 | r | best.R | # used to read data from a file containing information on the mortality rate of hospitals across the US
# and return the hosiptal in a chosen state with the lowest mortality rate with respect to a certain
# disease
best <- function(state, outcome) {
## Read outcome data
outcome_data <-
... |
06e5fbfe2052eff8fe796d63bba0ac7e5a1d2051 | f1ebd5faf1ec955dcc31dc416a4785254f4646f4 | /src/RDSTK/R/functions.R | 9c4803d40e0ad101daea29a8eb3432e353d5fafa | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewheiss/RDSTK | f3da4f0c63f6782ae4be9f0b0fe18b00e6261fc3 | 4cc9fadaf115eb13c25c8b4bf94e7d5e86bf7f1d | refs/heads/master | 2021-01-20T23:40:49.501360 | 2013-02-01T02:23:27 | 2013-02-01T02:23:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,415 | r | functions.R | ## Andrew Heiss
## Date: 31 January 2013
## Include project-specific functions in this file
.onLoad <- function(libname, pkgname){
if (is.null(getOption("RDSTK_api_base"))) {
default_base <- "http://www.datasciencetoolkit.org"
options("RDSTK_api_base"=default_base)
}
}
street2coordinates <- function(addre... |
29ae8992a46b5f4a13de78568603538708192a2e | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/det_downdate-test.R | efb43c455affe56dcd811a007d16f666202e4d85 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 215 | r | det_downdate-test.R | function (A, v, det)
{
e <- get("data.env", .GlobalEnv)
e[["det_downdate"]][[length(e[["det_downdate"]]) + 1]] <- list(A = A,
v = v, det = det)
.Call("_Benchmarking_det_downdate", A, v, det)
}
|
4a27e6a02632ba6d7b5acfce5a07994020a484b9 | be7a874c45d83dd27c0754cecc8f89c41219ca11 | /Test.R | 4c53df14d247358889887fc3db0c80a4ad68384a | [] | no_license | Prerna2602/R-Lab | 6254b342a038efbb41ea56a23e64f5ef87222723 | 8dc0c6b27a5fe5de4594af2301ef4848162a0192 | refs/heads/master | 2023-04-21T19:19:54.649237 | 2021-05-09T06:05:20 | 2021-05-09T06:05:20 | 365,680,109 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,226 | r | Test.R | #Reading the dataframe
data <-read.csv("C:\\Users\\KIIT\\Documents\\RLab\\BostonHousing.csv")
data
#Removing Rows
is.na(data)
which(is.na(data))
data[data == "null"]<-NA
data<-na.omit(data)
data
#normalize
nor <- function(x) {
return ((x - min(x)) / (max(x) - min(x)))
}
data$age_norm<-nor(data$age)
data$dis_norm<... |
e9c7f7c434efa92ba8e5aaabb525ea0f234ab282 | e1a2ea17ed065da7b63411eb1a277301ad811f89 | /DataDigestion.R | 217f29accb33e46ec94d8992889411113eba0f1c | [] | no_license | aribcarter/StopAndFrisk | bfd5a24491068c0d01c43f96db937902cd408e8a | 6964cfca15862a9f6a0114975cd2f54fee722c40 | refs/heads/master | 2022-11-19T08:45:24.190564 | 2020-07-24T03:38:14 | 2020-07-24T03:38:14 | 276,275,866 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,728 | r | DataDigestion.R | library(readxl)
library(dplyr)
GetZippedCsvFromNypd<-function(year){
address <- paste("https://www1.nyc.gov/assets/nypd/downloads/zip/analysis_and_planning/stop-question-frisk/sqf-",year,"-csv.zip", sep="")
fileName <- paste(year,".csv",sep="")
temp <- tempfile()
download.file(address, temp)
table <- read.ta... |
64c2183d4efa5e2db3fe796bdc1ae9aaaaa5a2fb | 8dd6ff7b87247e373e8b24e1cdeac2e6b89031f3 | /dev/read_shape_file.R | aa47af7bb97367a407c38790b5734209611261f4 | [
"MIT"
] | permissive | ecoquants/WhaleMap | 7b76d03dcf149ca45032c336e31821ee5df5403b | 6a3878974f8a73376550c074dce4c83761ab4dda | refs/heads/master | 2020-04-21T13:44:56.070816 | 2019-02-06T21:13:35 | 2019-02-06T21:13:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 319 | r | read_shape_file.R | library(rgdal)
ifile = 'data/raw/to_add/NARW sightings 2017 Exp GoSL/Shapefiles ODY vessel track/ODY_vessel_track_clean_line.shp'
ifile = 'data/raw/to_add/NARW sightings 2017 Exp GoSL/Shapefiles ODY vessel track/Survey tracks/ODY_Oceana_pelagic_survey_2017AUG27_1.shp'
shape <- readOGR(dsn = ifile)
summary(shape)
|
0431351203ad6d776b7f19aa566ad5df02159e0e | 010cdc330fbbd95423de66a264d13853606477a5 | /man/Votes.Rd | 1b51d71e223fd0b6744d170e03e758aa98aeaa24 | [] | no_license | cran/cba | 1cd3ed427fded73783bf98ca346dddcd62baaf2a | d16e229b75fa69ff5b5484176bf5f6428073837c | refs/heads/master | 2022-12-23T00:51:52.160556 | 2022-12-07T08:48:43 | 2022-12-07T08:48:43 | 17,694,994 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,901 | rd | Votes.Rd | \name{Votes}
\alias{Votes}
\docType{data}
\title{Congressional Votes 1984 Data Set}
\description{
This data set includes votes for each of the U.S. House of
Representatives Congressmen on the 16 key votes identified by the
CQA. The CQA lists nine different types of votes: voted for, paired
for, and announced f... |
812faf91bc16f8b33f844a0397ba36e97960db4e | 2ff56d5b52f5679d74c28eb34843766f2d1c7ac4 | /R/addRoadMap.R | bdd1c1522259f5356cfd6b104e7cffd545f2fa71 | [] | no_license | danzhuibing/RAmap | 89cda75ed4f6001634dd2ff0ff87fcc7eeb05c93 | 02f81ebd6ab50b7e7c93319ba5751045f071e46f | refs/heads/master | 2020-04-06T06:59:07.269675 | 2016-08-30T02:24:27 | 2016-08-30T02:24:27 | 65,667,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 977 | r | addRoadMap.R | #' Add a layer of road map to a Leaflet map widget
#'
#' @param map a leaflet map widget
#' @param center a numeric vector defineing the center point of the map widget,
#' default set to Beijing Tiananmen. Notice that the longitude and latitude
#' should follow the Chinese standard coordinate GCJ-02
#' @param zoom ... |
c169cff385435bd4395c5a3a071cb0a632af6b72 | 5fd118151180b21a1f87ba7821097972b73e30fd | /R/deg_analysis.R | d48bb51c7e33f4a57d7087f63cd09c90c26abcf0 | [
"CC0-1.0"
] | permissive | uruloki85/tfm | 8f90a78df30a4b62107d14cefc48f08d79abc936 | cd72556eae3f985d10cbb38f060cc7bfcdd62268 | refs/heads/main | 2023-05-07T17:55:28.611979 | 2021-05-31T16:11:43 | 2021-05-31T16:11:43 | 356,537,244 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,668 | r | deg_analysis.R | library(dplyr)
library(readr)
require(GEOquery)
library(limma)
library(ggplot2)
########################
# Treatment vs Outcome #
########################
# GSE112282, GSE45757, GSE14426
##############################
# Gene expression vs Outcome #
##############################
# GSE21501, GSE28735, GSE62165, GSE717... |
c1d5dd046ffed56044f9503be17e34c9b12e61de | fe289741ad1a69158b67cddc97d392bf622c89ad | /plot4.R | 8c391df18f163126292a73a942eece1e9a33e596 | [] | no_license | Hopellopo/Exploratory-Analysis-With-Base-Plotting-Test | 5fef069661c5d01195d50b65356bf2a082ab8691 | b63479d3cb95cffd5c05031341cc185c6dcb3653 | refs/heads/master | 2021-01-19T10:42:04.712140 | 2017-02-16T16:35:48 | 2017-02-16T16:35:48 | 82,199,148 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | plot4.R | plot4 <- function(){
options(warn=-1)
load("RelevantData.Rdata") #Called d
source('C:/Users/jloum_000/Desktop/Data Analysis Test/plot2.R')
source('C:/Users/jloum_000/Desktop/Data Analysis Test/plot3.R')
d["DateTime"] <- paste(as.Date(d$Date), d$Time)
par(mfrow=c(2, 2))
plot2()
plot(as.POSIXlt(d$DateTime... |
7a02da897054e6a1280080404e213d92760df7ba | c2982f1f6360328c8b143e1041f2f3dbf91f39bb | /Class_Code/W3_Text_Mining_II/W3 Blog.R | 40f11b70f1d496c30639b2f3e26c3655f1503bc1 | [] | no_license | Ironaki/Digital-Humanities-582A | b78e71668a77b3eee188cce8e9cb35fdcdea69af | 2d5f6da4ab2fb8d33b331e5c9214b23318ebe434 | refs/heads/master | 2021-08-14T08:58:00.626991 | 2017-11-15T06:45:13 | 2017-11-15T06:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,636 | r | W3 Blog.R | #####A bunch of useful code
rm(list=ls())
library(stringr)
library(ggplot2)
library(tidyr)
library(plotly)
##### PART I: DIVEDE INTO CHAPTERS
### Function to read the text
my.scan <- function(x){
Raw_Text.scan <- scan(paste("/Users/Armstrong/Google_Drive/Learning_Material/HIST582A/Class_Code/W3/Raw Text/", x,... |
8c437a033ba592dcae66e3b176ce6ff7788f6e9f | 3582145ad133e03e0bb735eecbcb30e6aef5d07a | /man/mcparam.sample.Rd | 8925aee633708605ed965a23dcaf375dc6b15ffd | [
"BSD-2-Clause"
] | permissive | JGCRI/ambrosia | 49b635e659507f5cb5014e7f9bca616fbbb075f7 | bf90ee7024ebee084b22679a76b3d86f9f6f808d | refs/heads/master | 2023-04-12T21:26:21.495659 | 2022-05-21T20:04:07 | 2022-05-21T20:04:07 | 69,679,416 | 6 | 0 | NOASSERTION | 2022-05-21T20:04:08 | 2016-09-30T15:40:30 | R | UTF-8 | R | false | true | 813 | rd | mcparam.sample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcpar-analysis.R
\name{mcparam.sample}
\alias{mcparam.sample}
\title{Sample the MC results using bootstrap sampling.}
\usage{
mcparam.sample(mc.data, nsamp = 100, func = NULL)
}
\arguments{
\item{mc.data}{Data frame of Monte Carlo output}
\i... |
306c1b451a0f375d14a214194f4096715e855ed1 | 43e699fbe39b402e7a4827c104c511c41e6af059 | /Term3_Group4.R | 6cb4cc9a4a0b409282947735cb2c2cc2c98fc1ef | [] | no_license | paulforst/BU_MSA_T3_G4 | b373d49010c162e063d63456fcf43b03031594c5 | 29ba36fe6a3607ce0f9d8a49b3a9f4a276778816 | refs/heads/master | 2021-03-27T10:11:19.113020 | 2017-12-12T17:11:26 | 2017-12-12T17:11:26 | 109,999,195 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,062 | r | Term3_Group4.R |
# ============================================================================
# Term 3 - Group 4 Group Project
# ============================================================================
# Purpose: This script contains functions that will aid in the process of pulling
# ... |
ade45294e6b53f2bf0fe5114e90fe7356ac16367 | e1eb7dc6a1ce2f54c4ba5ee95f59ee9da2e7965f | /man/newstart.Rd | 47998f7a8fdd93deb5c4fac70f405714bd7d2304 | [
"MIT",
"CC-BY-4.0"
] | permissive | DanielaGawehns/fluiditypilot | eaba5f0397fd3b69d3ef604fffde7a44e468b9f8 | 2167dee1bc807cde9e1cfc5f872e42a38f2880ef | refs/heads/master | 2022-12-24T18:21:10.913454 | 2020-09-04T15:29:40 | 2020-09-04T15:29:40 | 291,978,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 845 | rd | newstart.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process-data-to-txt.R
\name{newstart}
\alias{newstart}
\title{Find all newstart moments
If tapplied, it accounts for newstart moments depending on tagY (or whichever tapply dependence)}
\usage{
newstart(x, minlength, minlag)
}
\arguments{
\it... |
b592507901b2e28064ad4c21552b54eead042735 | d27bf90f117ae504900467fb547832eebb4cc33d | /processing.R | 22afd5a7dcfc205e7d4164d73f1193509f70a922 | [] | no_license | DmytroRybalko/RadioInUA | e65aabae07e78539352d837147de797bda0750ad | 4025857eba9b4b76535eb9b7b0daf9f20828a5c4 | refs/heads/master | 2021-09-08T00:42:07.351483 | 2017-11-23T14:18:26 | 2017-11-23T14:18:26 | 108,746,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | processing.R | # Here is main workflow for analysing and visualization playlist data from
# Ukrainian radio stations. |
63ff2263e5d57f4eb3856bd8992b941eb125fecc | ef9cb3d6688c20ae5ff1440208801c0e9e7c9d58 | /man/get_artist.Rd | f13922bc16937c86e3bf76d501cd2e2dce972787 | [] | no_license | kraigrs/musixmatch | f95596cfdc4fd343fe31b74e507f4208da5c0529 | 7d154de164178bf436b0859fa7675621a533c8c0 | refs/heads/master | 2021-01-01T05:35:48.762835 | 2015-09-17T13:16:22 | 2015-09-17T13:16:22 | 42,250,047 | 2 | 1 | null | 2015-09-17T13:16:22 | 2015-09-10T14:36:02 | R | UTF-8 | R | false | false | 710 | rd | get_artist.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/api.R
\name{get_artist}
\alias{get_artist}
\title{Search for artists in the database}
\usage{
get_artist(artist, simplify = TRUE, ...)
}
\arguments{
\item{artist}{string of the artist to search for, e.g. "Slayer"}
\item{...}{other AP... |
14f94934f1325bc47a3016e7c2cb371f06c55a95 | 28e16491dbddefeef482f515bb84f8cbf619929a | /tools/scde_pathprint/similar-experiments.r | 88a88da486ff92dddb4dc7971af236bd97faa79b | [
"CC-BY-2.5",
"AFL-2.1",
"AFL-3.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hidelab/galaxy-central-hpc | a9e469829cdcfa4adf8fcbcc178534d5e2dccf0b | 75539db90abe90377db95718f83cafa7cfa43301 | refs/heads/master | 2021-01-23T10:20:57.837042 | 2017-09-06T14:15:46 | 2017-09-06T14:15:46 | 102,609,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,000 | r | similar-experiments.r | #!/usr/bin/env Rscript
#sink(file("/dev/null", "w"), type = "message");
library(pathprint);
# Figure out the relative path to the galaxy-pathprint.r library.
script.args <- commandArgs(trailingOnly = FALSE);
script.name <- sub("--file=", "", script.args[grep("--file=", script.args)])
script.base <- dirname(script... |
0199e70f6384966e6f46e3f258f7c62952d78aed | d0ed7bfa76308345e7e7cbc863267d3842637145 | /exec/Rpackages_install | f0764db8d215e666b80c7f6163254735abccc491 | [] | no_license | lbraglia/lbmisc | b392fd9cf40bd7682eedc21c0beb9ca75d4332ec | f1d536507e4e83d0b93f997e1ee693f868383b67 | refs/heads/master | 2023-08-11T11:11:11.351492 | 2023-07-29T13:33:14 | 2023-07-29T13:33:14 | 49,871,637 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | Rpackages_install | #!/usr/bin/Rscript --vanilla --quiet
# usage: Rpackages_install pkg1 pkg2 ..
pkgs <- commandArgs(trailingOnly = TRUE)
R_vrs <- with(R.Version(), strtrim(paste(major, minor, sep = '.'), 3))
R_userdir <- paste('~/R/x86_64-pc-linux-gnu-library', R_vrs, '', sep = '/')
install.packages(pkgs = pkgs,
## rep... | |
99e6d41a67f4ea3dc4c196428a51f4c17cea386f | a693cd98dd57799c39a48c3b2433d91dbc7d1217 | /R/invoicer.R | efe1a11f77026acb3b16f214808648128efb2d00 | [] | no_license | anthonypileggi/invoicer | c9bf75904fa30f9f66ff098b794e6391e01c40ed | 5bfbf876a7bc03fb6e82055f00427e3d46f4dffb | refs/heads/master | 2020-03-29T06:34:17.966329 | 2018-11-12T14:22:06 | 2018-11-12T14:22:06 | 149,630,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,124 | r | invoicer.R |
#' Generate an invoice
#' @param client client name (character/scalar)
#' @param start_date first day of work (Date/scalar)
#' @param end_date last day of work (Date/scalar)
#' @param due_date date the invoice is due (Date/scalar)
#' @param include_dates include a Date column in the invoice (logical/scalar)
#' @param ... |
73a4a7a5353b93429d07daea83d32489a01f153a | 1e4e481248ec82522ba86875795f778b32402fa2 | /cachematrix.R | eb974459c1f567e844dae1b506a19c7c309bba72 | [] | no_license | carnunez/ProgrammingAssignment2 | 373e62763efb09953d393499eaf5e4df3b896225 | 1caaf6706a049e40e8c2c5cb366b973782c35b99 | refs/heads/master | 2021-01-17T18:57:35.157026 | 2015-01-19T21:13:50 | 2015-01-19T21:13:50 | 29,484,150 | 0 | 0 | null | 2015-01-19T18:07:49 | 2015-01-19T18:07:46 | null | UTF-8 | R | false | false | 1,958 | r | cachematrix.R | ## The first function is used to set up a cache variable = inv by using (<<-). It returns a list of
## four functions
## The second function uses three functions of these four (getinverse, get and setinverse).
## * The first one is to check whether "inv" was previously calculated. If TRUE, then return
## the... |
1c6afd85d470b24fad3ebdfc2c6bb6db858682f1 | 4d4b524b7d5e1cbb1be26e391144cfa6cbce72f4 | /man/wtInputFileLines.Rd | 58b90276563c5a910dceecca8576c179fa2c0b9d | [
"MIT"
] | permissive | KWB-R/kwb.wtaq | e6afc2455e5a828e8d5c98c19868df2d13c505a8 | f05c8cb30c48051c7f4b856c40571bae08facc27 | refs/heads/master | 2022-06-28T07:47:09.950237 | 2022-06-12T08:31:16 | 2022-06-12T08:31:16 | 60,534,495 | 3 | 0 | MIT | 2022-06-12T08:29:57 | 2016-06-06T14:26:52 | Fortran | UTF-8 | R | false | false | 906 | rd | wtInputFileLines.Rd | \name{wtInputFileLines}
\alias{wtInputFileLines}
\title{text lines for WTAQ input file}
\description{This function transforms a WTAQ configuration as generated with
\code{\link{wtConfigure}} into a vecotor of text lines. These text lines,
written to a file, can be used as input file to the WTAQ drawdown model... |
007e3da0d81212d63b6a4f861b9f637f84ab8346 | 8101e32331307177ed0c6db631c2b4603e813af7 | /plot2.R | 44180b2ca6400c82d5fcf14f59b1380b00ea0ef5 | [] | no_license | xuemike/Exploratory-data-Analysis | 4c70d2de36baed6e670169aa65cfe722beecd1a8 | e222f508ca4aaa24c19790564bb122c7f1855065 | refs/heads/master | 2021-01-21T12:59:21.229416 | 2016-04-25T00:36:45 | 2016-04-25T00:36:45 | 52,212,281 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | plot2.R | # Exploratory Data Analysis Course project 1
# R code will gernerate three PNG files. plot1.png plot2.png plot3.png
#read csv file
data <- read.csv("./household_power_consumption.txt", sep=";", stringsAsFactors=TRUE)
# get two dates' data for analysis
#data$Date <- as.Date(data$Date, format="%d/%m/%Y")
# ex... |
1af4ee257339adb2ee355e56017f32d541be6943 | a6214d7ecd758270d27592c6affe5df3bfd316a2 | /ledgerplots/man/quarterly.price.Rd | ba280379077cf73571dbe111ca99928889602b5a | [
"MIT"
] | permissive | RastiGiG/ledger-plots | 3c56fa0a98f0f347ad4a2045742f3d70f76913ff | b8ddb3bf32d51f9ad01ec60cb259fe9815495d38 | refs/heads/master | 2023-03-18T00:09:24.522680 | 2018-11-26T20:38:41 | 2018-11-26T20:38:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 297 | rd | quarterly.price.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/statistic-functions.R
\name{quarterly.price}
\alias{quarterly.price}
\title{Quarterly average price}
\usage{
quarterly.price(x)
}
\arguments{
\item{x}{a numeric vector}
}
\description{
calculate monthly average price
}
|
1e9771179ad3f325b3a81f02f26b26f28be44b0f | 55544bfa2ef73067d9af918c0da41cec66ff368e | /man/gameprice.Rd | 71d02e592714a988556b1c6f4ba4c6d64e2be182 | [] | no_license | drewlake/steamR | c65fb79417fcb37394f54125dd7120e96ef83c63 | 29e31d537ed66d24e689788557a49dd1233e2ea9 | refs/heads/master | 2016-08-11T10:02:50.702583 | 2016-04-04T10:59:53 | 2016-04-04T10:59:53 | 45,043,830 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 291 | rd | gameprice.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gameprice.R
\name{gameprice}
\alias{gameprice}
\title{Game Price}
\usage{
gameprice(gameid = "220")
}
\arguments{
\item{gameid}{Steam game id}
}
\description{
Price of a game
}
\note{
Maximum of 200 per 5 mins
}
|
d4750a28cf3959c759238cfb34b6339d3b2e8966 | 7047bc16c6043d7f8866e11ce0d2843840d2aef7 | /man/randomizationInference-package.Rd | 871f5241dc66f9aba6b4eb06824a6a44d2cedc93 | [] | no_license | cran/randomizationInference | 0c2b78ae6371f7d44796936a7d41bbb4467304ad | 7abaf184368540e342625c79baca80a6e5952224 | refs/heads/master | 2022-05-30T18:32:09.780295 | 2022-05-17T19:00:02 | 2022-05-17T19:00:02 | 17,699,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,835 | rd | randomizationInference-package.Rd | \name{randomizationInference}
\alias{randomizationInference-package}
\alias{randomizationInference}
\docType{package}
\title{Flexible Randomization-Based Inference}
\description{Randomization-based p-values and null intervals for a wide variety of experimental scenarios, with corresponding visualizations.}
\detai... |
cd3114e27b5d9bbc6bb1708b800f57980dbbe0e9 | a80a8065bc607f04dff519a034aa222177791f55 | /Plot6.R | 5e28c8ce6341c5dbba57862659e26b8354e7d47e | [] | no_license | rhllnk/Exploratory-Data-Analysis---Project-2 | 77c5a0563735853530bb7b890fffa8759c596d2c | f6ca2439f85c8f9d7b7c6a0a1b9595a35315d722 | refs/heads/master | 2020-12-25T14:24:10.946427 | 2016-09-04T21:14:21 | 2016-09-04T21:14:21 | 67,366,865 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,693 | r | Plot6.R | # Reading the data (Pre Step: Working directory is already set and data is downloaded to working directery)
Nei <- readRDS("summarySCC_PM25.rds")
Scc <- readRDS("Source_Classification_Code.rds")
#Check to see if data is correctly read
head(Nei)
nrow(Nei)
summary(Nei)
head(Scc)
nrow(Scc)
summary(Scc)
#Extr... |
bf353be8f23cbe7311439745b1396fa4809929ae | aece010c3572eaf59a791569ae60fec62a260ee6 | /man/updatepars.msm.Rd | 9468c25d505294a638e47e9981efbbac3b631fda | [] | no_license | cran/msm | edb92247a14b77f5a6726a80623884f29cce20e2 | fa420503596991f9e0c5e903474c1e24954c9451 | refs/heads/master | 2022-12-03T03:59:27.043063 | 2022-11-28T16:30:02 | 2022-11-28T16:30:02 | 17,697,695 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,300 | rd | updatepars.msm.Rd | \name{updatepars.msm}
\alias{updatepars.msm}
\title{updatepars.msm}
\description{
Update the maximum likelihood estimates in a fitted model object. Developer use only.
}
\usage{
updatepars.msm(x, pars)
}
\arguments{
\item{x}{A fitted multi-state model object, as returned by
\code{\link{msm}}.}
\item{pars}{V... |
8d7df25e0545d292480a6bc02e8ba7fa25019a59 | 6b769ade12829c97f7aa9930265418bede361967 | /R/table10_15.R | 6cdd654bb73a1deb743deedb96d45d7a6d9eb01d | [] | no_license | brunoruas2/gujarati | 67b579a4fde34ae1d57f4a4fd44e5142285663c1 | a532f2735f9fa8d7cd6958e0fc54e14720052fd4 | refs/heads/master | 2023-04-07T01:15:45.919702 | 2021-04-04T15:10:58 | 2021-04-04T15:10:58 | 284,496,240 | 14 | 6 | null | null | null | null | UTF-8 | R | false | false | 887 | r | table10_15.R | #' Table 10_15
#'
#' Hours of Work and Other Data for 35 Groups
#' Source: D. H. Greenberg and M. Kosters, Income Guarantees and the Working Poor, Rand Corporation, R-579-OEO, December 1970
#'
#' @docType data
#' @usage gujarati::Table10_15
#' @format
#'
#' \itemize{
#' \item \strong{obs}
#' \item \strong{HRS: }average... |
fe0e23b033c99b69b2b0267405b8d56f6fee1368 | 26eb22e908b0c93d0ddcb17cd0eddd776ac37cbb | /Scrap EPEX SPOT/EPEXScraperFunction.R | 1f695b8c788749e9dfe6ecda9820ba36b784c549 | [] | no_license | trunghlt/YENCHUN-L | 2b2fc20c62582ef761d25fe31b2ac34620b1babb | 60ced89ba63b3cae665c1ada7c21843eb928da68 | refs/heads/master | 2023-03-22T13:48:11.141690 | 2020-11-26T15:41:38 | 2020-11-26T15:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 42,520 | r | EPEXScraperFunction.R | # https://github.com/wagnertimo/emarketcrawlR
# This R package provides functions to crawl the EPEX SPOT Market
#
# Build and Reload Package: 'Cmd + Shift + B'
# Check Package: 'Cmd + Shift + E'
# Test Package: 'Cmd + Shift + T'
#'
#' @export
#'
setLogging <- function(logger... |
0cac6e3c4e2fb63900f2bd17c16b7ae388e5dcd5 | 95f46683600a82b5d2ca017c4317e99e7ceca840 | /merge.R | 9f6b846cffd230837e7f9975247d9a23a5af99de | [] | no_license | salleuska/IR_Rstuff | 835f3d186dcad022aef99fe6791e92d010630d75 | 0840c8d4bc7b74ddcdad782742e8339859b4d470 | refs/heads/master | 2021-01-23T20:44:57.628241 | 2014-05-29T16:02:52 | 2014-05-29T16:02:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,345 | r | merge.R | #heidel_details <- read.delim("~/Scrivania/TipsterData/esiti tutti/heidel_details.txt", header=F)
#heidel_precision <- read.delim("~/Scrivania/TipsterData/esiti tutti/heidel_datePrecision.txt", header=F)
# setwd("/home/alan/Documents/Parser_R_txt/")
source("/home/alan/Documents/GIT/Rstuff/configurazione.R")
config <-... |
c7824d624b2cebec27bc9036a03c7caf51b7b8ec | 85c772f3db8c3fa6928341bfd97b5a57c9bcc961 | /misc/projmgr.R | 12edb38d4ea0c9663fd41ccad14b42dcea908696 | [] | no_license | DUanalytics/BARtaxila | e0efe470fd7a0eeb9a5dedc0f2254cd83efb6075 | 0c76fad59a2e6f565277f52d080b48561a09eed6 | refs/heads/master | 2020-07-26T17:04:30.853751 | 2020-02-16T12:02:17 | 2020-02-16T12:02:17 | 208,712,611 | 77 | 3 | null | null | null | null | UTF-8 | R | false | false | 308 | r | projmgr.R | #Git and R
#https://cran.r-project.org/web/packages/projmgr/projmgr.pdf
install.packages('projmgr')
library(projmgr)
browse_docs('get', 'milestone')
experigit <- create_repo_ref(credentials.False)
check_rate_limit(experigit)
my_repo <- create_repo_ref("dupadhyaya", "rAnalytics")
browse_issues(my_repo) |
11c03e3f8263dd445ea12beedc3b5844bdc35a69 | 2fbe25472126dab0a3999b4e044e6838a0f9d7c8 | /models/spy_technique.R | 5097953c033b6172b095c1a2c5d47c4e3a499206 | [] | no_license | Ginny15/pulearning | 710dbc755fff534fe31f7dc0cc4c07b4bef9f7e3 | d104b9b7a9ab9f61d2ce00f69853ebb1b1e26bc7 | refs/heads/master | 2020-04-19T09:45:17.579686 | 2016-09-17T15:06:36 | 2016-09-17T15:06:36 | 67,410,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,413 | r | spy_technique.R | ## preparations ####
LID.1548 = read.table("/Users/xhu/Documents/1548-links.txt")[,2]
library(solr);library(pracma);library(permute);library(data.table);library(caret);library(dummies);library(BBmisc)
url = 'http://localhost:8987/solr/LSH/afts'
score.search = solr_all(q= 'FINGERPRINT:1548', base=url, fl='*,DBID,score'... |
5ae124be449ba2498b19721dee9ccce990b731a0 | 7a0cc1a29da34a761327a45f506c4b097cd33bd8 | /man/AdjustCounts.Rd | f9507c05d8e50f12c592e050c083e7b5409a809a | [
"CC0-1.0"
] | permissive | USFWS/AKaerial | 3c4d2ce91e5fac465a38077406716dd94c587fc8 | 407ccc5bf415d8d5ed0d533a5148693926306d27 | refs/heads/master | 2023-07-19T22:04:12.470935 | 2023-07-14T19:50:31 | 2023-07-14T19:50:31 | 254,190,750 | 0 | 1 | CC0-1.0 | 2023-07-14T19:50:33 | 2020-04-08T20:14:41 | R | UTF-8 | R | false | true | 1,366 | rd | AdjustCounts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{AdjustCounts}
\alias{AdjustCounts}
\title{Create index columns based on Num and Obs_Type}
\usage{
AdjustCounts(full.data)
}
\arguments{
\item{full.data}{A clean (greenlight) file containing observation history}
}
\value{
data fra... |
54cdd21b2f5dc49789c52b79d980d21f68afab62 | 93a27498daad1bd00d16aefa1cfb6c37b7e0911a | /project2_123a.R | 74aedf2b6c379eb34fa21b1e437427564eb3069d | [] | no_license | catherinewang1/Stat154-Project2 | 101cca234de8a978408bf3571c62d399fed36f0a | 471a7e79ccd9cf08b5042e72db4a2c1132ee539e | refs/heads/master | 2020-05-17T20:14:42.953499 | 2019-05-04T05:56:25 | 2019-05-04T05:56:25 | 183,936,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 42,509 | r | project2_123a.R | #Stat 154 Project 2
library(ggplot2)
library(dplyr)
library(gridExtra)
library(GGally)
library(caret)
library(hash)
library(MASS)
library(pROC)
library(e1071)
library(class)
library(car)
library(tidyr)
library(ggpubr)
library(WVPlots)
#read in the raw data
image1 = read.table("image_data/image1.txt", sep = "", heade... |
28ef032236c9f0d68476f6676eb8d3a29d168027 | 07a74984bf59ce4486e1bcaefafb8ce692b50d5a | /man/mapdeck_view.Rd | 41b5eb809be761e62130fa38047b786946230a9b | [] | no_license | SymbolixAU/mapdeck | c3bc3a61b8d8ade69b9b67fa69a00f9294281630 | 6138c6845e37ab3479e4ff65d9b0fff29e20f070 | refs/heads/master | 2023-09-03T22:34:43.418728 | 2023-08-24T22:14:59 | 2023-08-24T22:14:59 | 141,350,341 | 344 | 50 | null | 2023-08-09T22:22:59 | 2018-07-17T22:06:34 | HTML | UTF-8 | R | false | true | 717 | rd | mapdeck_view.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mapdeck_map.R
\name{mapdeck_view}
\alias{mapdeck_view}
\title{Mapdeck view}
\usage{
mapdeck_view(
map,
location = NULL,
zoom = NULL,
pitch = NULL,
bearing = NULL,
duration = NULL,
transition = c("linear", "fly")
)
}
\arguments{
... |
b5461f0b66bf72c705083183620145dadfd16f46 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PMCMRplus/examples/hartleyTest.Rd.R | 521a3f6ffcb7d5c36b7d79186daadf96dc54d9e4 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 268 | r | hartleyTest.Rd.R | library(PMCMRplus)
### Name: hartleyTest
### Title: Hartley's Maximum F-Ratio Test of Homogeneity of Variances
### Aliases: hartleyTest hartleyTest.default hartleyTest.formula
### Keywords: htest
### ** Examples
hartleyTest(count ~ spray, data = InsectSprays)
|
91765dd228eae655bc8e7098da35f7dffc732c60 | bf9798f3936dc369176f967b96144a6d8e887f8b | /Week3/Code/TreeHeight.R | 9879e031d8c21fefa665e1d3bb249e2c65e30d93 | [] | no_license | cupofteaandcake/CMEECourseWork | cf1cf96ff2168973cf1056c3ff8b96ef318fce79 | 42605aa1934bfb6668fc341dcd7c1ef4afa7edf2 | refs/heads/master | 2020-03-30T16:02:21.234538 | 2019-04-05T14:45:47 | 2019-04-05T14:45:47 | 151,390,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 958 | r | TreeHeight.R | #!/usr/bin/env Rscript
#
#This function calculates heights of trees given distance of each tree from its base and angle to its top, using the trigonometric formula
#
#height = distance * tan(radius)
#
#ARGUMENTS
#degrees: The angle of elevation of tree
#distance: The distance from base of tree (e.g. metres)
#
#OUTPUT
#... |
c3964283e23642c6d01501b163b69a8b4c138076 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/modelfree/examples/logit_link_private.Rd.R | acd440eae60458cbda6c6f0dde6d450e44c74160 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 537 | r | logit_link_private.Rd.R | library(modelfree)
### Name: logit_link_private
### Title: Logit link function with guessing and lapsing rates
### Aliases: logit_link_private
### Keywords: nonparametric models regression nonlinear
### ** Examples
data( "01_Miranda" )
x <- example01$x
r <- example01$r
m <- example01$m
glmdata <- data.frame( cbind(... |
2f707d63babe01f10ae547fbfe3b715cd66c969b | 7036298abe6ae8076189bcbb864d5b4d4dedc8f8 | /data_wrangling.R | 06f74d66cc5175ce05d9e8ca2c8570c786c4c095 | [] | no_license | gordy2x/mining | f6a6ee76725e225a51e527cd002456fddf6122c1 | ed86f6e9d87ef8a04133d4a47bad17bb3fedc7ca | refs/heads/master | 2020-08-29T19:59:07.424792 | 2019-10-28T22:36:11 | 2019-10-28T22:36:11 | 218,157,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,463 | r | data_wrangling.R |
rain_moist=read.csv("all_probes_2012_2017.csv", header=TRUE)
library("ggplot2")
library(cowplot)
library(dplyr)
library(coxme)
library(rms)
library(gridExtra)
library(tidyr)
#define probe
rain_moist$Probe=with(rain_moist,paste0(Swamp,Probe_no,Probe_depth,veg_type,Impact))
probes=unique(rain_moist$Probe)
for(probe i... |
eb46642e8ff2f3bdfd9085fc8a96c31e9e53c99b | 6317e8f55ac477c0648049f27d246d125d4e0bd8 | /Create Data Sets/R/extra/truncation filter.R | 91d37dddcf31fafe44f97eac7a7745e8f6373410 | [
"MIT"
] | permissive | Allisterh/Double-Q-Survey-Project | 91cf5ab7941bcd8b4b2d3f432a15f62a660c62f8 | 9ad38ac8f6a25e2092f0a4e12ad4c8208f849a8f | refs/heads/master | 2022-01-16T21:14:08.294573 | 2018-01-12T17:28:32 | 2018-01-12T17:28:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,690 | r | truncation filter.R | data<-panel.u
length(which(is.na(data$e2_1month)))
# equity prices
data$keep.e<-"TRUE"
data$keep.e[data$e2_1month>4000|data$e2_3month>4000|data$e2_1year>4000]<-"FALSE"
data$keep.e[data$e2_1month>2000 & data$e2_3month>2000 & data$e2_1year>2000]<-"FALSE"
data$keep.e[data$e2_1month<100 & data$e2_3month<100 & data$e2_1yea... |
2c6ceab7a01e4bd42b664f3567fbc627d53ec571 | 7d5d8492c2d88b88bdc57e3c32db038a7e7e7924 | /bid-cc-agricultural-sector/Output_analysis_final/runDSSAT/Rice_secano.r | e8dcc27372e6b15da5bed9e1e316c42c9d79c41c | [] | no_license | CIAT-DAPA/dapa-climate-change | 80ab6318d660a010efcd4ad942664c57431c8cce | 2480332e9d61a862fe5aeacf6f82ef0a1febe8d4 | refs/heads/master | 2023-08-17T04:14:49.626909 | 2023-08-15T00:39:58 | 2023-08-15T00:39:58 | 39,960,256 | 15 | 17 | null | null | null | null | UTF-8 | R | false | false | 4,135 | r | Rice_secano.r | ############### Parallel DSSAT ############################
########### Load functions necessary
path_functions <- "/mnt/workspace_cluster_3/bid-cc-agricultural-sector/_scripts/DSSAT-R/"
path_project <- "/mnt/workspace_cluster_3/bid-cc-agricultural-sector/"
# Cargar data frame entradas para DSSAT
... |
74f6831d96a331d3706739143f76614d7fb4e869 | 12292a3ea0df7e1ca422d778f8f3ea812069cb83 | /R/AltSplicingJunctionSupported.R | 93facf782b55ac27c4749627ce12f3740bed9564 | [] | no_license | federicomarini/GeneStructureTools | bd8be331d1bc29d849452329bcbb77705e6868dd | ed946d997fc62ac70b1f34e5ce631aefe60d2dca | refs/heads/master | 2020-03-13T21:15:32.154189 | 2018-04-27T12:22:17 | 2018-04-27T12:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,452 | r | AltSplicingJunctionSupported.R | #' Find alternative junctions for Whippet alternative splicing events
#'
#' Find junctions that pair with each end of an AA (alt. acceptor) or
#' AD (alt. donor) whippet range
#' Find junctions that pair with the upsteam/downstream exon of an
#' AF (alt. first exon) or an AL (alt. last exon)
#' @param whippetDataSet wh... |
94773516ee1152ede5f6e83861924dacbcdc980e | 2fa2bdd966ff1f5cf1704a4971b13b9a55805d24 | /CAPM.R | 46a2831cb08351b03fbda2f9a605a6754045895f | [] | no_license | davidht296/CAPM | 12787c9b435d6b214f1ae6ff929c193551bbc821 | cd6c2eaf80bda3ec6a182b285549dff86f6c3c52 | refs/heads/master | 2022-12-03T07:06:31.748464 | 2020-08-25T04:54:55 | 2020-08-25T04:54:55 | 290,115,914 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,953 | r | CAPM.R | # File: CAPM Estimation - ASX (5yr, Monthly)
# Author: David Harris
# Date: 15-04-2020
# INSTALL AND LOAD PACKAGES ################################
# Installs pacman ("package manager") if needed
if (!require("pacman")) install.packages("pacman")
# Use pacman to load add-on packages as desired
pacman::p_load... |
bd4f6e485a4826190643459260c40d1aff8e238a | 9a59a94c2752f411d95924b070a7f1e848ed18f9 | /R/RecipeSteps.R | 87bbb29743dbc6746b303a33b21a3f920efd8679 | [
"MIT"
] | permissive | TatsumotoH/addstepr | 1065710352f2cfc8299793c39b247bf6f09b89d3 | 701dea4908e689b99b84c13d73b68fa0b0bce309 | refs/heads/master | 2023-07-01T01:22:54.692736 | 2021-08-01T08:15:31 | 2021-08-01T08:15:31 | 376,506,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,923 | r | RecipeSteps.R | # add new step functions for recipes and tunes
# step_dbscan_fpc ----
#
step_dbscan_fpc_new <- function(terms, role, trained, skip, id, eps, minPts, retain, model, data) {
step(
subclass = "dbscan_fpc",
terms = terms,
role = role,
trained = trained,
skip = skip,
id = id,
eps = eps,
... |
30de2111bff0ec6e7377324a221713041d87d9cc | f2d6b4b264bf3739e91b69bcb343a21b0aa4a43d | /practice_2.R | 503fb4ad5b278c4fcd245dc90c1a060229751735 | [] | no_license | Kimdumchit/R_practice | 2a69ae8597fc49e46282e585718ccf05fd3535c0 | 6504bba064378981e6638fa9808171fa93fe9a27 | refs/heads/master | 2020-05-07T08:50:43.603920 | 2019-04-14T09:10:00 | 2019-04-14T09:10:00 | 180,349,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,231 | r | practice_2.R | #데이터 프레임 만들기
#1.변수만들기
english <-c(90,80,60,70)
english
math<-c(50,60,100,20)
math
#2.데이터 프레임 만들기
df_midterm<-data.frame(english,math)
df_midterm
class<-c(1,1,2,2)
class
df_midterm<-data.frame(english,math,class)
df_midterm
#분석하기 ($기호는 데이터 프레임 안에 있는 변수를 지정해준다)
mean(df_midterm$english)
mean(df_midterm$math)
#데이터 프... |
82fb04729d601df6b431eba92ca3c1b7602e304e | fb4f18c9816cff08debc4d7c4d0ca035920952ea | /Ex_4/q7_wind_forecast.R | d155da804880821f66b3b609c9b895205f2de5fe | [] | no_license | marcohv/exercises_ts_dtu | cdd880768df7bbb7d12a92feb5738249777fe6e7 | cdf5818a51447b4adce742024b68e387901ea39a | refs/heads/master | 2020-03-27T19:39:13.452140 | 2018-09-18T13:43:11 | 2018-09-18T13:43:11 | 147,003,352 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,205 | r | q7_wind_forecast.R | ##----------------------------------------------------------------
## Init by deleting all variables and functions
rm(list=ls())
## Set the working directory
setwd(".")
## Packages used
require(splines)
## Source functions
sapply(dir("functions",full.names=TRUE), source)
## Load the data
Data <- readRDS("data_soende... |
de2145c793ff58f963108a65ae17f9dd0db26696 | d6464bc95946ec867ff935c889c30a3753e88008 | /test/ui_2.R | d466bc2f753d702bc6cab960d3c98475d905fd2d | [] | no_license | georgeannie/Kellog_northwestern_university_sinter | b83b5d8cb9b4e984c6d41c62f2bda3b41f1242a0 | 858b668900a69415db200470ac8683a76f97b1b8 | refs/heads/master | 2020-05-26T05:49:42.317690 | 2019-08-20T20:41:39 | 2019-08-20T20:41:39 | 188,126,614 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,014 | r | ui_2.R | library(shiny)
library(shinydashboard)
library(ggplot2)
library(dplyr)
library(tidyr)
library(stringr)
source("sinter_function.R")
sinter= read_rename_sinter()
#PLOTS
#Correlation plot for dependent variables
corr_plot_dep= plotOutput('correlation_dependent', height="400px", width = 'a... |
47bfafa02e99e49abb682cd64ebf741997bd8ba4 | c2bb1193014c1c5974dfff227a3cdc847260c18d | /tests/testthat.R | 33aec9c141c332181c88c92ae1d76626641c0065 | [] | no_license | domjarkey/relatable | 00a2289174c85cbaa7e0fdf5b68276bac8fd795c | d02569e5d7b3664b97b04d06942f02833a974691 | refs/heads/master | 2021-05-09T10:34:56.719985 | 2018-02-01T07:37:56 | 2018-02-01T07:37:56 | 118,967,880 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(relatable)
test_check("relatable")
|
7cb371dd1ce6b6b55299dfb72fe9c0b222e07205 | fc9087208656d27a4b3cc1d20620e6031cc1b02e | /ensemble.R | 8f794cd6e696ad96c024cc0b38ad535da1b68a58 | [] | no_license | varunpurohit76/mmlm | 32ee97d77012afda809fa1f160a51be30be8e034 | b5d0e176acf1f00bf5bbace0d80f2f35960b5df3 | refs/heads/master | 2021-01-10T02:12:09.547334 | 2016-03-03T14:58:19 | 2016-03-03T14:58:19 | 52,752,926 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 285 | r | ensemble.R | one <- read.csv("C:/Users/Varun/Desktop/ds/mmlm/ensemble/0.265627.csv")
two <- read.csv("C:/Users/Varun/Desktop/ds/mmlm/ensemble/0.266693.csv")
three <- two
three$Pred <- (one$Pred + two$Pred)/2
write.csv(three,"C:/Users/Varun/Desktop/ds/mmlm/ensemble/predict2.csv", row.names = FALSE) |
d6b8ee2cb60d9a6d90aafb85c74ba7cc55e8c6b5 | 73eec22a33e4f2f08a61cc3e5c8c5a2883009d73 | /man/as.data.frame.sparsebnData.Rd | 41e8ed5302d629f6705ae8fbd215cb542824f14b | [] | no_license | itsrainingdata/sparsebnUtils | 958ec179724d75728dfd03a40bbde718f68cc0cc | a762b74dda916956d16e2654463736e55b57be0b | refs/heads/master | 2020-04-06T06:36:08.237032 | 2019-05-29T11:04:07 | 2019-05-29T11:04:07 | 50,886,867 | 3 | 2 | null | 2017-04-10T22:45:30 | 2016-02-02T02:05:24 | R | UTF-8 | R | false | true | 476 | rd | as.data.frame.sparsebnData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s3-sparsebnData.R
\name{as.data.frame.sparsebnData}
\alias{as.data.frame.sparsebnData}
\title{Convert a sparsebnData object back to a data.frame}
\usage{
\method{as.data.frame}{sparsebnData}(x, ...)
}
\arguments{
\item{x}{a \code{\link{sparse... |
036a172c575923fc5f93483ef2d06940f02b4ead | bc6fc11685a58ac09ae8cfc286ec3eee68729324 | /020-models/docs/GAM/mack.r | 6786aefa73b24c898976ead7de6626b30903f180 | [] | no_license | quantide/qtraining | 2803fe93446931c43b70ecd7ed644f01c79ece85 | 846043fcc8207da7b5dbf5bd9a7d4b94111d5132 | refs/heads/master | 2021-09-15T10:57:47.797783 | 2018-05-30T09:13:43 | 2018-05-30T09:13:43 | 56,151,061 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,354 | r | mack.r | ## mackerel survey example. Run the code here and expand it to
## produce a reasonable model for these survey data, and some
## simple predictions form it....
library(mgcv)
library(gamair)
data(mack)
data(coast)
data(mack)
## plot the egg densities against location
plot(mack$lon,mack$lat,cex=0.2+mack$e... |
12d74bf6ca3e0d5f923107e497961360d4b3c650 | de4a5ef486d3de3c45bf75ba75824323f9b395c4 | /Analysis/for_paper/Fig2/steps_compare_3_n_paper.R | 9c25d3a8138d6e586d5552d2ed7c30bf61e8c214 | [] | no_license | algyz200/R_portfolio | e0f937cd8f3066d9df5074dbe31c205bd9fceb0a | 1d8b9c0a42a8a111753e603fb984e9147ea1f55d | refs/heads/master | 2020-12-06T03:41:24.306181 | 2020-01-22T16:26:31 | 2020-01-22T16:26:31 | 232,330,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,480 | r | steps_compare_3_n_paper.R | setwd("C:/Users/algis/Desktop/Algis/Algis_UoW/analysis")
source("steps_and_dirs_compiled.R")
filelist <- c(sub)
directory <- c(d_sub)
title <- strsplit(directory,"/"); title <- unlist(title); title <- title[length(title)]
coll=1
#par(new=TRUE) #allows overlaying plots
#exclude false dwells
setwd("C:/Users/algis/D... |
d10cf99d72b05bd9e3d9ca0ef7b006c39ef36e11 | 8534e1345f43e216936f14353ea413b4eb8fb1cf | /run_analysis.R | 90a51263adf1cd55adadfbd4fadff39c69a25d50 | [] | no_license | JogikInt/GettingAndCleaningData | d042ea8a71b1acee6acbf43704937ce6e4c1b648 | b81b7f0a7780518e969fe13ca0126abc8b60b7b2 | refs/heads/master | 2021-01-01T04:34:28.702923 | 2016-05-15T15:35:14 | 2016-05-15T15:35:14 | 58,863,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,395 | r | run_analysis.R | library(data.table)
## Steps 1-4
# loading labels
activityLabels <- fread("activity_labels.txt")
featureLabels <- fread("features.txt")
# loading and binding train and test files
subjects <- rbind(fread("test/subject_test.txt"), fread("train/subject_train.txt"))
featureMeasurements <- rbind(fread("test/X_test.txt"), ... |
00a86b74c3d648f6b4349a600eded18bd75f3a78 | cf9abceb276e692ac8783bc3176f14be11bc5174 | /man/notes.Rd | 855186feda5c87789bb7992c4f8cb3dbcb299bee | [] | no_license | crhisto/Biobase | 923b9a7abcb4863168eda083adcb632b8f6b8721 | 8b88109584a30df554196ad1eb5f0324c59ce37e | refs/heads/master | 2022-12-16T14:57:12.821906 | 2020-10-02T18:10:23 | 2020-10-02T18:10:23 | 257,328,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | rd | notes.Rd | \name{notes}
\alias{notes}
\alias{notes<-}
\title{Retrieve and set eSet notes.}
\description{
These generic functions access notes (unstructured descriptive data)
associated \code{\link{eSet-class}}.
\code{notes(<ExpressionSet>) <- <character>} is unusual, in that the
character vector is appended to the list ... |
8e40ee8ae9cd0aadc562fc2771dd149262ef639e | 8512a8248589ed7de11b908d307cda001a87df43 | /R/plot1.R | 637cfbbb2eeabeb6346ef56c2b2b6781388b6d74 | [] | no_license | kennchin/shiny_app_monitor | e232ffcb02ce727d0719f77849b150b9066afd7e | 669409c060fa66d55540600bcfd12182a203a6ed | refs/heads/master | 2020-04-07T11:45:42.870393 | 2018-11-20T07:34:52 | 2018-11-20T07:34:52 | 158,339,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | plot1.R | #function to plot if dimension is less than 4 rows
plot1 <-function(dataset,rows,nx,ny)
{
eth_trans =as.data.frame(t(dataset))
eth_cols = eth_trans[,1:2]
eth_rows = eth_cols[rows,]
names(eth_rows)<-c(nx,"Freq")
eth_rows$Freq = as.numeric(levels(eth_rows$Freq))[eth_rows$Freq]
ggplot(data=eth_rows, aes_st... |
3d1c18ddb87bb36bb59e6106ce24b8d04acb52c2 | 1c7b24f44c1332979a235ded510a68583479664a | /man/hist.grouped.data.Rd | a7c404e0425f2e83561ead57ebe107a7bdbb00f5 | [] | no_license | cran/actuar | a9c39df86bbca3a19e5914aa726dd5cea29b1562 | b82d1bc41eed62cce17ecc1466f95f6b31c0225b | refs/heads/master | 2023-02-23T07:52:16.126575 | 2023-02-07T03:12:31 | 2023-02-07T03:12:31 | 17,694,238 | 10 | 8 | null | 2018-04-24T13:17:50 | 2014-03-13T03:51:17 | R | UTF-8 | R | false | false | 3,845 | rd | hist.grouped.data.Rd | \name{hist.grouped.data}
\alias{hist.grouped.data}
\title{Histogram for Grouped Data}
\description{
This method for the generic function \code{\link{hist}} is mainly
useful to plot the histogram of grouped data. If \code{plot = FALSE},
the resulting object of class \code{"histogram"} is returned for
compatibili... |
b1ae1286625fb6655b30f6f7843afad966520c46 | 8e8982116616d5efb35d5acd5c3dfe12339f7033 | /subSamples/errorVsCoverage.r | 0785d04e18e0746fb8df55e288b41a0f85af1b2e | [] | no_license | DEploid-dev/dEploidPaper | ffc167ede5762df4f7b1be21ed6ab3f12e0055aa | 39434269d27fcedb50c6a77180f9a2baeb342286 | refs/heads/master | 2021-06-20T00:49:01.331168 | 2017-07-20T17:57:59 | 2017-07-20T17:57:59 | 67,420,361 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,732 | r | errorVsCoverage.r | rm(list=ls())
source("common.r")
getIndex <- function (mixedSample, ref1, ref2){
sum1 = sum(mixedSample[,1] != ref1) + sum(mixedSample[,2] != ref2)
sum2 = sum(mixedSample[,2] != ref1) + sum(mixedSample[,1] != ref2)
# print(sum1)
# print(sum2)
if ( sum1 < sum2 ){
return (c(1,2))
} else {
... |
485cd99929c393a3c903d61dc2d21ca0d7fc30fa | ae6bf5c9facfbfc14ad6438cc238db86c41557e8 | /return_est.R | b25283098a0f2f2d0666897d1a729f8bee7e6f59 | [] | no_license | kecolson/simulator_functions_current | c7e3dfc05937b65285492dbb5386e6d8626a13a5 | 36582cb59d6ac6e619bdcce4d88b39c43fcbe8c7 | refs/heads/master | 2021-03-12T21:20:04.363864 | 2015-03-12T22:06:54 | 2015-03-12T22:06:54 | 32,105,425 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 525 | r | return_est.R | # return_est.R
# Function: return_est
# Input: Risk of outcome in exposed (EY1)
# Risk of outcome in unexposed (EY0)
# Desired metric (metric)
# Output: Estimate (est)
return_est <- function(EY1, EY0, metric) {
# Risk difference
if (metric == "rd") {
est <- EY1 - EY0
return(est)
... |
7ce105fb57e864839a262629fceb1a102169c01d | 436a5912af879ae72490d2009010aecf8c2406bf | /plot4.R | 5774cb70b8a0ddc1ea28370690478d2f69fe69e5 | [] | no_license | houlad/ExData_Plotting1 | 1e915b6e8f5edb1c3f145c5a7300d0b53e629b43 | ad323913cebb4b34afcd8aeb9665acb142797ef5 | refs/heads/master | 2021-05-26T18:43:53.773419 | 2014-06-04T14:24:35 | 2014-06-04T14:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | plot4.R | ##Reading full dataset into R
fullpower <- read.table(file = "./household_power_consumption.txt", sep = ";",
header = TRUE, na.strings = "?", stringsAsFactors = FALSE)
fullpower$datetime <- paste(fullpower$Date, fullpower$Time)
fullpower$datetime <- strptime(fullpower$datetime, format = "%d/%m/... |
689247c30c584993ac9796d8a1c233f0806eaf73 | d7393207913e0e55f4d3543ce9a4fac9eba72a68 | /tests/testthat/test-sitrep.R | f359d54407e505ed8c4f8fbbeed535538c4f99f6 | [
"MIT"
] | permissive | r-lib/devtools | 52b2dfccac32a13e6e80c2f6b4a745d6f3c23032 | 163c3f24ef2b2828b738c281b89d66e756f048f7 | refs/heads/main | 2023-08-08T21:15:00.328365 | 2023-08-07T16:26:14 | 2023-08-07T16:26:14 | 643,909 | 850 | 366 | NOASSERTION | 2023-08-07T16:26:16 | 2010-05-03T04:08:49 | R | UTF-8 | R | false | false | 1,721 | r | test-sitrep.R | test_that("check_for_rstudio_updates", {
skip_if_offline()
skip_on_cran()
# the IDE ends up calling this with `os = "mac"` on macOS, but we would send
# "darwin" in that case, so I test with "darwin"
# also mix in some "windows"
# returns nothing rstudio not available
expect_null(check_for_rstudio_updat... |
d8a8c04f8d803a23f50722a37268e0defae38588 | 4a292e34ae6a0fdca63ab07b7b0ccc3f57bdc566 | /man/col_elev.Rd | ddc126ba3faa332caefd15c314bea910a26ccac8 | [
"MIT"
] | permissive | mikejohnson51/HydroData | c122ba9d559e46bf2c58db609cff43411d7922d9 | 6b7f08656d7299bca3a544652cb69ae064049d41 | refs/heads/master | 2021-07-09T13:51:37.180796 | 2019-01-17T06:36:21 | 2019-01-17T06:36:21 | 112,221,493 | 38 | 9 | MIT | 2018-11-29T14:50:59 | 2017-11-27T16:39:08 | R | UTF-8 | R | false | true | 407 | rd | col_elev.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/color.palletes.R
\docType{data}
\name{col_elev}
\alias{col_elev}
\title{Color Palletes Usefull for NLCD, CDL and NED plotting}
\format{An object of class \code{character} of length 23.}
\usage{
col_elev
}
\description{
Color pallets for visua... |
efc1bbf8a8416865c921b7aa40b468d13a4b0710 | 8a76480b897eeac91a863f1a1ca17ee5f9c86f9f | /transect/scripts/Fig_3_explain_var/permanova_site_year_panel_b.R | 148e1894e7f3eca437ac0563c1d341491a0caed5 | [] | no_license | eot3/European-Root-Suppl | 687c1e31d8dfd01b989ee0aaa78bece6374f789e | eeb9a13f42329454812e0135558219ae962660dc | refs/heads/master | 2022-03-31T10:27:12.400806 | 2020-01-06T09:48:13 | 2020-01-06T09:48:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | permanova_site_year_panel_b.R | ###
### nned to be called separately for each dataset (bacteria, fungi and oomycetes)
###
### need library("vegan")
library("vegan")
### Load data ###
mat.dist=read.table("../../oomycetal_data/bray_curtis_otu_table_norm.txt", h=T, sep="\t")
metadata=read.table("oomycete_table.txt", h=T)
### loop... |
a3f6951d1e4fa98531fea7b7e8aa059150b50bd5 | 28188f0e2c1458c511476770b2e46feec3d4ea90 | /system/initialization.R | c4b7864f0bb20c0f25e813034cc3e3b19da6ce29 | [] | no_license | complexitycbs/complex_network_analysis | 9ac72a34f4d465215d16eba209dd240bce0aa3b3 | 8862bb99b8f40f9889309671e4afd4fbc7955331 | refs/heads/master | 2020-03-28T01:36:27.747915 | 2018-08-24T10:42:25 | 2018-08-24T10:42:25 | 147,516,692 | 0 | 0 | null | 2018-09-05T12:48:20 | 2018-09-05T12:48:20 | null | UTF-8 | R | false | false | 480 | r | initialization.R | # Used packages
suppressPackageStartupMessages({
# Graph calculations and parallel computing
library(igraph)
library(parallel)
library(doParallel)
# Data manipulation and mutating into usable node- and edgelists
library(tidyverse)
library(magrittr)
# Import of data from the internet and basic clea... |
79b188883f187a5f3ee743f7c6de30fc084e0c98 | 747747c3914bf23746edfe29d7f1db4b481d2b54 | /print.R | f04de67d92573a69a67716a682ca57bf5005c90a | [] | no_license | beoing/MATH345-Metapopulations | 52f1227f3dec585c89c98e9985757d34441d8350 | 70f8a521e04f7960f54c1593303ef98882337e11 | refs/heads/master | 2021-03-08T19:24:21.664228 | 2016-04-29T23:42:44 | 2016-04-29T23:42:44 | 57,005,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,574 | r | print.R | print_model <- function(sm, t){
print(sprintf("The model at time t = %d is: ", t))
print(sprintf(" -------- --------"))
print(sprintf(" |%06s| |%06s|", strtrim(sm[4, t+1],6), strtrim(sm[5, t+1],6)))
print(sprintf(" |------|=========|------|"))
print(sprintf(" |%06s| |%... |
a41db05034ef6d71e432b6d93c92a8783d62592d | faf4e2a563162e96b93800dac3bb1ff2e4c86e29 | /R/packages/GloCR/man/getWthDB.Rd | 0e4122e0ae7d07340f7f07685da76484ba507ac0 | [] | no_license | jasonjb82/GloC | 4f600bbb82f4988ec8132301fdac9d9039e28377 | b8b6fd54336be663ac6614fec14170894becfec0 | refs/heads/master | 2020-04-15T21:11:48.508428 | 2015-01-27T03:36:52 | 2015-01-27T03:36:52 | 32,000,110 | 1 | 1 | null | 2015-03-11T05:31:05 | 2015-03-11T05:31:04 | R | UTF-8 | R | false | false | 996 | rd | getWthDB.Rd | \name{Get weater data}
\alias{AccessGetWthXY}
\alias{AccessGetWthCell}
\alias{DBgetWthXY}
\alias{DBgetWthCell}
\alias{DBgetWthCellNoDSN}
\title{ Get weather data }
\description{
Get weather data from a database
}
\usage{
AccessGetWthXY(database, table, lon, lat, rst=raster())
AccessGetWthCell... |
c5af07966752eb24e116844b0dd375b75e685766 | 495ef44f953ccc4cc66eb9882b83cc60b8b61682 | /cachematrix.R | a345077c687ff7951329eab1e46644cf07dd5964 | [] | no_license | bernardnk/ProgrammingAssignment2 | 484db1c698433e9b26926de77a14704458511ece | 04f01acaa61f372005692219cc0e6e1dd35a8d30 | refs/heads/master | 2021-01-21T20:17:04.258971 | 2014-11-17T03:42:43 | 2014-11-17T03:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,167 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## These functions display the basis to build a "dictionary" to provide
## fast lookups based on "keys" (the value used to search) to obtain
## the output values (here, a computed inverse matrix) which is only
## computed once. Diction... |
dca1bc419a8d72385a2a1e551cd48771cf4fda9a | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/fpu/fpu-01Xh-error02-uniform-depth-7/fpu-01Xh-error02-uniform-depth-7.R | 2e229b462e32fccfcc4c7f60626ff3eafc815b0d | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 87 | r | fpu-01Xh-error02-uniform-depth-7.R | a0dfb5e02dfde29a8f4fa460c144939e fpu-01Xh-error02-uniform-depth-7.qdimacs 205681 547528 |
f23fcd175666b5517ff71ffb6a94927b0bd4e751 | 6f66fb70a11cb88629f227dba8a913ba3ffccdaa | /calculations.R | 4a7b45cf86c2cac191757bb7a42ab3942eb04117 | [] | no_license | grothjd/RepData_PeerAssessment1 | 5945002cc7538cd5b2a5f552a9410acd5d9a870b | 98331ad79f9cb5e137a0e4f9a3a5f7e0ee9f3c8f | refs/heads/master | 2021-01-15T09:53:00.908831 | 2015-07-19T23:22:52 | 2015-07-19T23:22:52 | 39,325,644 | 0 | 0 | null | 2015-07-19T07:08:31 | 2015-07-19T07:08:31 | null | UTF-8 | R | false | false | 1,536 | r | calculations.R | activity <- read.csv("activity.csv")
day_of_week <- weekdays(as.Date(activity$date))
number_of_steps <- sapply(split(activity$steps, activity$date), sum, na.rm=TRUE)
hist(number_of_steps)
mean_number_of_steps <- mean(number_of_steps)
median_number_of_steps <- median(number_of_steps)
print("mean number of steps per day:... |
8df3c689b8248f4c1b486322ce3577ddd746cc8a | e5fc120f866933943a29c796c7c607dc2690cab3 | /analysis/get_climate/climate_anomaly_in_degreesC.R | a0470091f69fabb38f926fdd610021345154db2e | [] | no_license | AldoCompagnoni/lupine | e07054e7e382590d5fa022a23e024dfec80c80b2 | afc41a2b66c785957db25583f25431bb519dc7ec | refs/heads/master | 2021-06-23T04:50:30.617943 | 2021-06-11T13:00:59 | 2021-06-11T13:00:59 | 185,047,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 751 | r | climate_anomaly_in_degreesC.R | # What is climate anomaly in terms of degrees C?
rm(list=ls())
source("analysis/format_data/format_functions.R")
options(stringsAsFactors = F)
library(dplyr)
library(tidyr)
# get climate data
clim <- read.csv("data/prism_point_reyes_87_18.csv")
# calculate ABSOLUTE Celsius yearly temperatures
mean_t_df <- tmp_... |
1b32dee9af25fa2164c65cacd4cb23f149c7da91 | 9be405f871051b5e7f2269128750c8d7726d4d84 | /shiny/textInput/ui.R | df70f7120aa4960777418d789fc84fd4cccc99d5 | [] | no_license | ChanningC12/Machine-Learning-with-R | aeee0b02566073a1f27a7368af33c95c0efedbe8 | b1edfb60e16d95956194988f0c299d44b534b7aa | refs/heads/master | 2020-04-15T12:47:02.641542 | 2016-12-02T03:28:57 | 2016-12-02T03:28:57 | 64,176,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 627 | r | ui.R | library(shiny)
# Define UI for the shiny application
shinyUI(fluidPage(
# Application title
titlePanel(title = "Demonstration of textInput widget in shiny"),
sidebarLayout(
# Sidebar panel
sidebarPanel(("Enter the personal information"),
... |
aaeb55ca0dfa52a4613638013fc64e9efeecf5f2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/popEpi/examples/ltable.Rd.R | 8f7ad8eedb92f2ec77dbea214e54e510a4a89d6e | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,246 | r | ltable.Rd.R | library(popEpi)
### Name: ltable
### Title: Tabulate Counts and Other Functions by Multiple Variables into a
### Long-Format Table
### Aliases: ltable expr.by.cj
### ** Examples
data("sire", package = "popEpi")
sr <- sire
sr$agegroup <- cut(sr$dg_age, breaks=c(0,45,60,75,85,Inf))
## counts by default
ltable(sr, "... |
4eb6a6c5eeb8f1e8b79128fc31394d7905ea6b0a | 1c5577882d16d88bbd18a4fb0819d987ac46ba5d | /Session1_HW/Hello world.R | 1a043a1172b235ae87e7400a90b5303f32e8cc16 | [] | no_license | paulpobouche/Github_paul | a67fa053307f323831a627ed7018d5e0bbc593f6 | 452b359e68030f9b612e31c737aec98dc9e841f1 | refs/heads/master | 2020-04-15T09:41:24.538930 | 2016-10-23T16:00:14 | 2016-10-23T16:00:14 | 68,100,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 416 | r | Hello world.R | #Hello World
#Paul Bouche, 14/09/2016
#There are several ways to print "Hello world!"
#The first option is to use the basic R function "print"
print("Hello World !")
#However there is also a more complete way to do it, thanks to a function which
#prints every chain of 3 chains of characters that I want
fun<-fun... |
c1e6bc6b19a34fdb3f0db58255f75e9cb11826ba | 77060598839a1d34c29025cbfd5d1c2e50eef3b0 | /GLM 1 Blank/5 Linear Regression Diagnostics/5_Linear Regression Diagnostics/5_Linear_Regression_Diagnostics.R | c96d3058280d3f5ff7488b712f28cda819232765 | [] | no_license | seanxduan/GLM-1-Fall-2020 | d34ec5a607a19a37cef9b1009360c0e8f8d1f88b | 0d25ce697570c9436e3d2fca0b7f9ccf3d156660 | refs/heads/master | 2023-01-19T18:25:35.915302 | 2020-11-30T23:20:44 | 2020-11-30T23:20:44 | 289,981,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,900 | r | 5_Linear_Regression_Diagnostics.R | ###################################
## Linear Regression Diagnostics ##
## Kyle Ripley ##
## 9/6/19 ##
###################################
# Packages needed:
install.packages("olsrr")
library(olsrr)
library(tidyverse)
library(ggplot2)
# Data used:
dat <- read_tsv("https://raw.... |
9436bbc1c66b7b4f30b5f89e70af7617695edfab | f19c893ff20f4595d0a255d37e4d5dac9452f13a | /scratch.R | 81697d0e3ce10e697fe790c4a7936fe509eb2ae5 | [] | no_license | ramnathv/dataviz | 80d3ab1aa68d92181902cd3058cc45abb850af58 | 30115b1fb589e8fa4a62a978e728cde85670875e | refs/heads/master | 2021-01-18T07:44:59.858007 | 2011-03-10T21:43:47 | 2011-03-10T21:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,143 | r | scratch.R | source("queryAPI.R")
library(plyr)
library(ggplot2)
load("scratch.RData")
# Scratchwork just to play with the data
# Data ranges from 1984-2010
# Most granular level of data
budgetAcct <- getBudgetAccount()
# Aggregate spending levels
budgetAgg <- getBudgetAggregate()
receiptAcct <- getReceiptAccount()
receiptAgg ... |
7a0b64bf54b9aca5d001b511308de30259418710 | 0926205326d5c3654e7e49069591b592fcd42154 | /cachematrix.R | 703f0589435209c6fbb90d2c331af160d0a2021d | [] | no_license | DevaranoroZ/ProgrammingAssignment2 | ceca8559eb111d6f36078d57b9620a6e3827fc5b | f70cb0d104c7a0ee5c9e2111632116932f9bf227 | refs/heads/master | 2021-01-21T20:52:51.957080 | 2016-10-05T05:01:51 | 2016-10-05T05:01:51 | 70,026,279 | 0 | 0 | null | 2016-10-05T05:01:51 | 2016-10-05T03:09:23 | R | UTF-8 | R | false | false | 1,216 | r | cachematrix.R | ## Computing the inverse of a matrix and storing it for later use to save
## comutational effort and time.
## makeCacheMatrix - Creates a list of functions to set and get a matrix and set
## the inverse to a matrix and get the cached value of the inverse, if already
## computed
makeCacheMatrix <- function(x = matri... |
fe4c4f956914eed2bced1a11ff15538d240bc482 | cb0c33baa61edcbc6bfd8610d65a1e4d43bff6d1 | /R/method.R | 344c7a9f8275ca9e099e9fa4d9f99465e8d5632d | [
"MIT"
] | permissive | mustafaascha/OOP-WG | 3e5aef8b0edacbcf0549b501b3c7776fa9a65df3 | 6dc2c4ee9519dc0041ade6fa66849aed662ec651 | refs/heads/master | 2023-04-02T00:40:41.395196 | 2021-03-23T19:25:36 | 2021-03-23T19:25:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,138 | r | method.R | #' Retrieve or register an R7 method for a generic
#'
#' @param generic The generic to retrieve or register
#' @param signature The method signature
#' @param method,value The new function to use as the method.
#' @importFrom utils getS3method
#' @export
method <- function(generic, signature) {
method_impl(generic, s... |
7d40bbd3c7a23a8b0db681968b453d59b9c05547 | 8113d59af6d145892922bf13069d67c335908930 | /R/data.R | bfa8fc47fdc449c0ed655fe273f2e5e7bbb58cfc | [] | no_license | tjburns08/nnvis | 04a936f6fe232e8e6b1262a73a53b8874fad7730 | 7892d404f648f42a5682cb5d7bea0d7f81d86429 | refs/heads/master | 2020-03-29T07:26:06.864933 | 2020-02-19T14:20:10 | 2020-02-19T14:20:10 | 149,665,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 686 | r | data.R | #' Publically available dataset from Nikolay Samusik of the Nolan Lab,
#' consisting of mouse bone marrow. Original data is 86,864 cells, but here
#' it is subsampled down to 10,000. The data were asinh transformed. The
#' Flow Repository ID FR-FCM-ZZPH. File is called Samusik_01.fcs.
#' @format a tibble of 10000 cells... |
54df6818789f0c0e2588990b79e51b2f9a78f14f | ce2435ac0d405cc80cfaddc02bb709ea7491a5d5 | /section1/MyRCode.R | f114bf25c1d0e9cc07729c454610667e0c5707f0 | [
"CC0-1.0"
] | permissive | pauEscarcia/BigData-Zacatecas | b9e4014ee1242522c04a46a8fd40badd809cfe7c | 6ed59608d4583f8d0bdb5caa55c80f41a1c3844a | refs/heads/master | 2021-01-10T05:25:26.429723 | 2016-03-14T03:18:03 | 2016-03-14T03:18:03 | 43,478,578 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 186 | r | MyRCode.R | defect.counts <- c(12,29,18,3,34,4)
names(defect.counts) <- c("Weather","Overslept", "Alarm Failure",
"Time Change","Traffic","Other")
df.defects <- data.frame(defect.counts)
df.defects
|
8fae73c840c23f6df55b011fcdb545e807989eb7 | 7160c389f135c1ee946d58bd3ce57368d746bc41 | /man/get_weather.Rd | 7d4d733dbaeba47127c3ad2844f72f2acdb32d38 | [
"OGL-Canada-2.0"
] | permissive | jdallmann/winnipegr | 0e0fa846f72e2c62a0b61082048cd241278aacfb | 343f342aa32a010723524b140dc67c324b0283f2 | refs/heads/master | 2020-04-23T12:50:47.955301 | 2020-01-16T22:02:06 | 2020-01-16T22:02:06 | 171,182,527 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,050 | rd | get_weather.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wpg_weather.R
\name{get_weather}
\alias{get_weather}
\title{Winnipeg Weather}
\usage{
get_weather(
station = c("wpg", "forks", "airport"),
start = as.character(Sys.Date() - 365),
end = as.character(Sys.Date()),
metric = TRUE
)
}
\argu... |
06ce3587415e1b7f6a74bbb5d89fd70a3ef9777a | ef572bd2b0515892d1f59a073b8bf99f81d6a734 | /man/MessageQueue.Rd | ee3687dcb678975de227ffc4350abe556b34d9b1 | [
"CC0-1.0"
] | permissive | pepfar-datim/datapackr | 5bc604caa1ae001b6c04e1d934c0c613c59df1e6 | 9275632673e45948db6846513a53c1436cfc0e47 | refs/heads/master | 2023-08-30T23:26:48.454382 | 2023-08-11T13:01:57 | 2023-08-11T13:01:57 | 170,350,211 | 9 | 7 | CC0-1.0 | 2023-09-11T21:53:24 | 2019-02-12T16:19:47 | R | UTF-8 | R | false | true | 479 | rd | MessageQueue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/messageQueue.R
\name{MessageQueue}
\alias{MessageQueue}
\title{Title MessageQueue}
\usage{
MessageQueue(message = character(), level = character())
}
\arguments{
\item{message}{One or more character strings}
\item{level}{One of ERROR, WARNIN... |
63814c2d560fe5de299390691e4df2e239dc129a | 12fff55fc23481f867e4be0ea2c37a25ee88aafd | /cachematrix.R | 4ba41d20583172bef928ad2651308a81f8476fad | [] | no_license | mgperry1/ProgrammingAssignment2 | a2b4aaeec319f1300038f0dba69c20dc74e0707f | d6c9e37d9d81b061ca3a91e9d067eac5e1f0b501 | refs/heads/master | 2021-01-21T00:05:44.551533 | 2014-08-21T14:31:06 | 2014-08-21T14:31:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 844 | r | cachematrix.R | ## Put comments here that give an overall description
#of what your
## functions do
# t<-makeCacheMatrix()
# t$set(matrix(1:4,2,2))to store a matrix
# cacheSolve(t)
## Setup the Matrix object
makeCacheMatrix <- function(x = matrix()) {
m<-N... |
99110f7dd75b743f90d48d2c99c66e112082c540 | 407af0f4f7df21f6adc02b5f9c9171c1c7fc3dee | /plot_1.R | 8d7562f96f4f9fbe24ddcd3fb5d10e2c84b02944 | [] | no_license | komoroka/Exploratory-Data-Analysis-Course-Project | e3288839ff894db88c137d5a55be8b0c50d3fd08 | ba2efbe4eb5fd165feb4ef674cf2f372cfede677 | refs/heads/master | 2022-06-22T23:10:06.256276 | 2020-05-09T22:52:31 | 2020-05-09T22:52:31 | 261,964,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,117 | r | plot_1.R | # download and unzip the data (only done for the first plot)
filename <- 'Data for Peer Assessment.zip'
download.file(url = 'https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip',
destfile = filename)
unzip(filename)
NEI <- readRDS('summarySCC_PM25.rds')
SCC <- readRDS('Source_Classificati... |
2f044c528d0807f19124d1e9973d5f12d5609fbf | 9456677b348c919542cc370dfea0b56d06ca767a | /Analysis/Disparity_calculations/Disparity_per_matrix.R | f2d51d0fead0ab9b380d9162f98a3cf1a16c6b7c | [] | no_license | yassato/SpatioTemporal_Disparity | 97befea49605279788ebb2da251ade9c08e75aa8 | 0e2b9dd29f51e94189b50767aee863592cd85d8a | refs/heads/master | 2022-04-25T00:36:19.657712 | 2018-01-05T11:30:37 | 2018-01-05T11:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,155 | r | Disparity_per_matrix.R | #Setwd
if(length(grep("TGuillerme", getwd()))) {
setwd('~/PhD/Projects/SpatioTemporal_Disparity/Analysis')
} else {
warning("You might have to change the directory!")
}
if(length(grep("SpatioTemporal_Disparity/Analysis", getwd()))==0) {
if(length(grep("SpatioTemporal_Disparity-master/Analysis", getwd()))==0... |
574844fd38b88831eba74e5458dd179d0d0574fe | 094bb4b008075c6c89d437f6a753e553ee01b03e | /man/aggregate_taxa.Rd | bef480472630194197c6719c353f887a92c8bc98 | [] | no_license | TommasoCanc/biomonitoR | 025264f6a6d69fae0e896a9f0a7874da7b184003 | 26136a8becdeb052adc5f8ff08d585024d50d223 | refs/heads/master | 2022-02-03T18:31:19.541891 | 2022-01-24T13:19:42 | 2022-01-24T13:19:42 | 141,422,404 | 0 | 0 | null | 2018-07-18T10:57:02 | 2018-07-18T10:57:02 | null | UTF-8 | R | false | true | 892 | rd | aggregate_taxa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggregate_taxa.R
\name{aggregate_taxa}
\alias{aggregate_taxa}
\title{aggregate_taxa}
\usage{
aggregate_taxa(x, FUN = sum)
}
\arguments{
\item{x}{Result of as_biomonitor}
\item{FUN}{the function to be applied for aggregating to higher taxonom... |
2a9ee7edd51262b2895c9cf097216ff3ee8bfa7c | ec0bc03a32995226cbb8d314e6c74539f5ff691d | /ATTEDII_Base/AGRIS/ATTEDII_EnrichemntOfTFsTargetGenes.R | 117c51d5aefd2759847949ccfc912254b239e98d | [] | no_license | YKeito/PCCofPCC | 104411b7e3de4186a8a00584b684a62641f89447 | 32973801734523e9641ff4dbe47bc04d2dfbb0c0 | refs/heads/master | 2022-12-24T00:06:26.909714 | 2020-09-28T05:29:39 | 2020-09-28T05:29:39 | 299,197,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,444 | r | ATTEDII_EnrichemntOfTFsTargetGenes.R | #"~/Nakano_RNAseq/network_analysis/script/PCCofPCC/ATTEDII_Base/ATTEDII_EnrichemntOfTFsTargetGenes.R"
before <- proc.time()
install.packages("tidyr")
#package----
library(stringr)
library(dplyr)
library(tidyr)
#input data----
MasterTable <- readRDS("~/bigdata/yasue/PCCOfPCC/ATTEDII/RDS/Table/20200311ATTEDII_MCLNumNodeT... |
b7d74545f175e48b78d2622f92218c8697a231b3 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.compute/man/ec2_deregister_image.Rd | 4c2009bdc15973a927f5c4e31fd9c49843fa6685 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,320 | rd | ec2_deregister_image.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_deregister_image}
\alias{ec2_deregister_image}
\title{Deregisters the specified AMI}
\usage{
ec2_deregister_image(ImageId, DryRun)
}
\arguments{
\item{ImageId}{[required] The ID of the AMI.}
\item{DryRun}{Checks wh... |
8b36e5a4a7c4ad00cf8f80402f8a480efb1afa4e | 54619814c48f9f41c427ced3da8159c47316e601 | /annotating_cell_cycle_genes.R | b91335096c8eeae746a51327bbb58fcc180b5487 | [] | no_license | amarseg/RNA_seq | f40f11d97c3a64a18ba9e413bbdaec3453214c53 | 3d07eb8b77e0f03a6c8ef610798f3af3a434c03e | refs/heads/master | 2021-05-04T10:56:34.146765 | 2017-08-14T09:39:11 | 2017-08-14T09:39:11 | 36,794,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | annotating_cell_cycle_genes.R | ###Annotating genes in cell cycle phases (using Sam's GO final table)
rm(list = ls())
setwd('C:/Users/am4613/Documents/Summaries_as_timecourses/')
peak_times <- read.delim('C:/Users/am4613/Documents/Summaries_as_timecourses/fission_timecourses/Peaktimes all genes.txt', header= T, strings = F)
load('../GitHub/Misc/GO.an... |
a7c030b3957348b5f70dab70b3cb2bbfb844a36b | 665b491ee5cc3af40c02a49e9ac6277a5eeaca02 | /inst/tinytest/test-formula.r | 5be73aaf9e62bb2ee1329c2b164f4f20face0e0e | [
"MIT"
] | permissive | USCbiostats/aphylo | 49ac5286c5b69350b85d11a4d23dc7422ef3c26c | 0a2f61558723c3a3db95e7f5b4e5edc4bf87a368 | refs/heads/master | 2023-08-16T19:57:29.976058 | 2023-08-09T20:20:32 | 2023-08-09T20:20:32 | 77,094,049 | 10 | 1 | NOASSERTION | 2020-06-07T02:24:17 | 2016-12-21T23:37:46 | R | UTF-8 | R | false | false | 1,231 | r | test-formula.r | # context("Formulae")
# test_that("Formulas create the right model", {
set.seed(0772)
x <- rdrop_annotations(raphylo(50), .5)
m_mu <- aphylo_formula(x ~ mu_d)
m_mu_psi0 <- aphylo_formula(x ~ mu_d + psi)
m_mu_psi1 <- aphylo_formula(x ~ psi)
m_mu_psi2 <- aphylo_formula(x ~ psi + mu_d)
expect_equal(deparse(m_mu_psi0)... |
02a5d600bfe91e50a63bf5b602e4e3db2e01a250 | c5320cac9d3591ea2fa7319b3c304d59ad143420 | /plot4.R | a3d3e551d839b0b5d8664607e18ee49ffaee0119 | [] | no_license | saame7w/ExData_Plotting1 | 66b00b5fbafcdd5a3e738ce0d9ece73c032de60e | be2d40127c6ab01a02b757c3131d2cda85d84625 | refs/heads/master | 2021-07-17T04:08:26.255580 | 2017-10-22T12:47:30 | 2017-10-22T12:47:30 | 107,858,493 | 0 | 0 | null | 2017-10-22T11:05:59 | 2017-10-22T11:05:58 | null | UTF-8 | R | false | false | 1,282 | r | plot4.R | dataall <- read.table("household_power_consumption.txt", header = T, sep = ";", stringsAsFactors = F)
data <- dataall[dataall$Date=="1/2/2007" | dataall$Date=="2/2/2007",]
data[data=="?"] <- NA
data$Time <- strptime(paste(data$Date,data$Time,sep = " "), "%d/%m/%Y %H:%M:%S")
data$Date <- as.Date.character(data$Date,"%d/... |
c593f43476497ee23595e56535b2d79db1d3c13d | 8d46815595f25a7b6217ce62dfc7f9c33b31da12 | /quantmod-master/man/getSymbols.oanda.Rd | 27c35ea62652ce444c78c1db1decd83698f1101d | [
"MIT"
] | permissive | Sdoof/PyFinTech | 43e4c6ed1cb4b092cebd2fb1e033988ff6fb106d | 4cd7efa2df52fc9e14aca1bb548abd0fd8ba9278 | refs/heads/master | 2020-04-26T11:17:04.987441 | 2019-02-28T15:22:33 | 2019-02-28T15:22:33 | 173,511,290 | 1 | 0 | null | 2019-03-02T23:46:27 | 2019-03-02T23:46:27 | null | UTF-8 | R | false | false | 2,370 | rd | getSymbols.oanda.Rd | \name{getSymbols.oanda}
\alias{getSymbols.oanda}
\alias{oanda.currencies}
\title{ Download Currency and Metals Data from Oanda.com }
\description{
Access to 191 currency and metal prices, downloadable
as more that 36000 currency pairs from Oanda.com.
Downloads \code{Symbols} to specified \code{env} from
\url{www.oanda... |
8e325d7b36f9d5fd5c73b19d7288a53d6ae48afb | c746b5f40c118fb4f41a2d7cb88024738476d40f | /Model_Application/Testing/OS_Lasso_Plus_single.R | 1373a31a50aabbb94653a79c0cc837627f8acb95 | [] | no_license | multach87/Dissertation | 5548375dac9059d5d582a3775adf83b5bc6c0be7 | d20b4c6d3087fd878a1af9bc6e8543d2b94925df | refs/heads/master | 2023-06-25T20:09:25.902225 | 2021-07-23T18:51:07 | 2021-07-23T18:51:07 | 281,465,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,071 | r | OS_Lasso_Plus_single.R | #libraries
library(glmnet)
#load data
#data.full <- readRDS()
#full.data <- readRDS("/Users/Matt Multach/Dropbox/USC_Grad2/Courses/Dissertation/Dissertation_Git/Data_Storage/")
debug.data <- readRDS("/Users/Matt Multach/Desktop/Dissertation/Dissertation_Git/Data_Generation/Data_Storage/debug_data_091720.RData")
#lo... |
ef04f45d9023a86b19385e1b29306a6b4338326d | c750c1991c8d0ed18b174dc72f3014fd35e5bd8c | /pkgs/GDAdata/man/MexLJ.Rd | e9aa7aad8074c33d7acd6b592913de082d765e6b | [] | no_license | vaguiar/EDAV_Project_2017 | 4b190e66fe7a6b4078cfe1b875bccd9b5a594b25 | 288ffaeec1cfdd873fe7439c0fa0c46a90a16a4f | refs/heads/base | 2021-01-23T02:39:36.272851 | 2017-05-01T23:21:03 | 2017-05-01T23:21:03 | 86,010,131 | 1 | 0 | null | 2017-05-01T23:43:04 | 2017-03-24T00:21:20 | HTML | UTF-8 | R | false | false | 710 | rd | MexLJ.Rd | \name{MexLJ}
\alias{MexLJ}
\docType{data}
\title{
Data from the longjump final in the 1968 Mexico Olympics.
}
\description{
The best longjumps by the 16 finalists in the 1968 Mexico Olympics. Each athlete jumped up to six times, though the winner of the Gold Medal, Bob Beamon, only jumped twice.
}
\usage{data(MexLJ)}
... |
0fa15258d7fa123feff165d7a79ad2fc0ebbff3f | 3a8bbd4346f813ba29725ebb5a3bf13e7504767d | /run_analysis.R | 92a3d38756f9716caa4123f3a588dc8f10f24647 | [] | no_license | Grrrusti/Analysis.R | b18f9f6d01a0c2db481562bdf5f79308c6067e28 | 6d0b12899e64e1b994dcf83159754a00e501e78d | refs/heads/master | 2020-05-18T12:54:31.006004 | 2014-12-21T21:38:49 | 2014-12-21T21:38:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,381 | r | run_analysis.R | library(plyr)
##1st PART
##if directory doesn't exist, creates new
if(!file.exists("./data")){
dir.create("./data")}
fileUrl <- "http://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl, destfile="./data/project.zip")
setwd("./data")
unzip("project.zip", files=NUL... |
4b3a5d189e1ae753eea34776500eca4eaa9f60c4 | ae0f095b97b0481e39614267529d4feb5b3cee58 | /man/plot.CatDynData.Rd | 6444743b6b77ef3e6a5da6088feeee2722b7bd7a | [] | no_license | santucofs/CatDyn | c1c5e66b1939c145606f06c827fc31031ed932b9 | 0c706a84f1fbfc39abf208b8e5558a67d79f52ac | refs/heads/master | 2023-03-16T18:41:43.893781 | 2019-01-02T11:30:07 | 2019-01-02T11:30:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,346 | rd | plot.CatDynData.Rd | \name{plot.CatDynData}
\alias{plot.CatDynData}
\title{
Exploratory Analysis of Catch and Effort Fisheries Data
}
\description{
Allows examining the relation between catch and effort, the marginal distributions
of catch and effort, and the time series of catch, effort, the catch spike
statistic, and mean body we... |
be60d17feb976a2d11d2af5b43c6a01e5fe46f6d | 8a6c123dce13e5a0a96f258cd0fd78f32f166014 | /man/FLNaiveBayes.Rd | 9dfabdb12922d3a9284262dd96155b891a0eb4c4 | [] | no_license | mcetraro/AdapteR | c707cd5bd4918cee093e5f151248e0ed047eacda | 4ea6ba9226ad187b0a61ab95286043c1eb5fbec3 | refs/heads/master | 2021-01-18T12:45:14.416907 | 2015-07-30T14:41:48 | 2015-07-30T14:41:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,122 | rd | FLNaiveBayes.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/FLNaiveBayes.R
\name{FLNaiveBayes}
\alias{FLNaiveBayes}
\title{Naive Bayes Classifier}
\usage{
FLNaiveBayes(table, primary_key, response, laplace = 0, exclude = c(),
class_spec = list(), where_clause = "",
note = "From RWrapper Fo... |
01e38d8e288da3655b1a9437b7422ab5b32ef34f | 625407d36cc192d1df51593899bf7514ba9dc6ee | /plot4.R | 404dcba14752059a820b8c38f60d004e8a1af5b4 | [] | no_license | SergeyBykov1/ExData_Plotting1 | 6dadb9a3fb342dd66ae9e6f2c9dd4048c717de93 | 16f248a8f822d887cc925e5acaf1daaf60e993e3 | refs/heads/master | 2021-01-22T14:46:16.190904 | 2014-10-15T02:28:17 | 2014-10-15T02:28:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,182 | r | plot4.R | #
# Exploratory Data Analysis
# Course Project 1 Extension
# Plot 4
#
# needs data.table package for fast reading
require("data.table")
full_data <- fread('household_power_consumption.txt', na.strings="?")
target_dates <- as.Date(c("2007-02-01", "2007-02-02"))
target_data <- full_data[as.Date(full_data$Date, format=... |
d5595864fe967d9ae3ee74fb62962ab0c4c2f7cb | f87fa55b0b30efa11806c0e0f217f89ba8aab5ab | /cachematrix.R | 1724c72b5b915dadff306448ef09851c17746be7 | [] | no_license | stbnjenkins/ProgrammingAssignment2 | 1b5558fb3869e02c0b9da03179e2cc175b0f0cb7 | 140ec4f90411b7bc604da0097635eb95a6de0945 | refs/heads/master | 2021-01-17T22:29:14.562893 | 2015-03-12T06:10:36 | 2015-03-12T06:10:36 | 32,058,530 | 0 | 0 | null | 2015-03-12T05:18:55 | 2015-03-12T05:18:55 | null | UTF-8 | R | false | false | 2,087 | r | cachematrix.R | ## Since calculating the inverse of a matrix can be potentially
## a time-consuming task, if the matrix is not changing and we
## are calculating its inverse many times, it might be a good
## idea to calculate the inverse only once and cached it. So
## we only recalculate the inverse matrix when the matrix is
## chang... |
f5fd1b001ca2da3dc3db3e5b982156681218e15e | 125a18c7eba0ca722425fadbfd5e7c1e1692ae86 | /man/ker.Rd | d254951d71b25b7eb9c28c87d37b6e4558c5f5ff | [] | no_license | cran/bbemkr | 8a41414f3161d48028bfbaf4480c894d9357e6bf | 376a966dfd17a52129d4cbaaa092d1684477674a | refs/heads/master | 2020-04-17T07:51:10.950435 | 2014-04-05T00:00:00 | 2014-04-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,178 | rd | ker.Rd | \name{ker}
\alias{ker}
\title{
Type of kernel function
}
\description{
For data that have infinite support, Gaussian kernel is suggested. For data that have [-1, 1] support, other types of kernel can be used.
}
\usage{
ker(u, kerntype = c("Gaussian", "Epanechnikov", "Quartic",
"Triweight"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.