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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68ea8f49c991f685beaa51ea27bbd1a6f5db78b7 | bbb3e575d2c00abeeccc88d560e8b0be7c98f3de | /Generate_PRISM_Graphs_and_Maps.R | 6a3d5d59542c68f8ada5083780fe65a4c3084939 | [] | no_license | michael-noel/PRISM-Crop-Health-Data-Filter-and-Visualize | 8cb4ebc40a718b543e17d0dcdbe87564b6ff6ed7 | 1070bbfac7e6184f2ad294879044b21883ed4a5e | refs/heads/master | 2020-12-26T01:38:15.096084 | 2014-11-20T03:43:11 | 2014-11-20T03:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 889 | r | Generate_PRISM_Graphs_and_Maps.R | ##############################################################################
# title : Generate_PRISM_Graphs_and_Maps.R;
# purpose : generate graphs and maps of PRISM data;
# producer : prepared by A. Sparks;
# last update : in Los Baños, Philippines, Nov. 2014;
# inputs : na;
# outputs ... |
3a79aae0002a153758f132acba537e66a6d72216 | 63d50cbf64469abd6d4729ba0266496ced3433cf | /harsha1/check-number-positive-or-negative.R | 181b380d18eee09254cf6a2063c86448d73414fd | [] | no_license | tactlabs/r-samples | a391a9a07022ecd66f29e04d15b3d7abeca7ea7c | a5d7985fe815a87b31e4eeee739bc2b7c600c9dc | refs/heads/master | 2023-07-08T09:00:59.805757 | 2021-07-25T15:16:20 | 2021-07-25T15:16:20 | 381,659,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 317 | r | check-number-positive-or-negative.R | # Created on : 29-06-2021
# Course work:
# @author: Harsha Vardhan
# Source:
#check if the number is positive or negative or zero
num = as.double(readline(prompt="Enter a number: "))
if(num > 0) {
print("Positive number")
} else {
if(num == 0) {
print("Zero")
} else {
print("Negative number")
}
}
|
3891d63b7df22ac220b6424d42fc8cf4fefc5e62 | 283c7729e8642dcb2a3d75563b7b190df999ebfa | /man/dot-PermutedVar.Rd | 934f4de8ef23f839d4adefa4bd228984be10820c | [
"MIT"
] | permissive | vivekkohar/sRACIPE | 5960894521fc76749342e3e0db43e392ad3130f2 | 0b76e5981aa8fd2622ef36e307be6cd0bdf6c977 | refs/heads/master | 2021-06-17T11:38:56.541129 | 2021-03-17T16:19:14 | 2021-03-17T16:19:14 | 178,456,885 | 0 | 0 | MIT | 2021-03-17T16:19:14 | 2019-03-29T18:25:23 | R | UTF-8 | R | false | true | 631 | rd | dot-PermutedVar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatmapSimilarity.R
\name{.PermutedVar}
\alias{.PermutedVar}
\title{Find variance of permutations}
\usage{
.PermutedVar(simulated.refCor, clusterCut, permutations, refClusterVar)
}
\arguments{
\item{simulated.refCor}{Correlation matrix of sim... |
e4acfc363e2846abef915c4a57e380acf4454ae0 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.database/man/rds_switchover_blue_green_deployment.Rd | 135fd55f7fa66165f81a667fcb79b406419b5334 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 968 | rd | rds_switchover_blue_green_deployment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rds_operations.R
\name{rds_switchover_blue_green_deployment}
\alias{rds_switchover_blue_green_deployment}
\title{Switches over a blue/green deployment}
\usage{
rds_switchover_blue_green_deployment(
BlueGreenDeploymentIdentifier,
Switchove... |
2322a74e9abac7dba57d0c21daf9be00d1c5806b | d0db39e156c1303c92aa76b1cb8bb4657e990947 | /plot2.R | 5798495e85edabad82efe09bbcddff916ce1e884 | [] | no_license | user8077/ExData_Plotting1 | b26be883078b78a1004ae811d8e1412c005c3592 | 99e02b7b49ae1e36187d9ae1eed52231fc5027e1 | refs/heads/master | 2021-01-18T08:49:55.522426 | 2015-03-09T01:28:09 | 2015-03-09T01:28:09 | 31,857,922 | 0 | 0 | null | 2015-03-08T17:10:01 | 2015-03-08T17:10:00 | null | UTF-8 | R | false | false | 478 | r | plot2.R | data <- read.table("household_power_consumption.txt", sep=';', header=T, na.strings="?")
mydata <- subset(data, Date == "1/2/2007" | Date == "2/2/2007")
datetime <- paste(mydata$Date, mydata$Time)
datetime <- strptime(datetime, "%d/%m/%Y %H:%M:%S")
par(pch=" ")
with(mydata, plot(datetime, Global_active_power,type="o"... |
b6d43b52c99570c6d4ff66d18cc454dd978fc01d | 07ff09cfd43fdd5874b0736bd8a67d727d7d5633 | /R/simExtraction.r | 8b5b7cdc8fe50a2de4ee9f4b0bb089c3527da2c8 | [] | no_license | OskarHansson/pcrsim | 11af8a891473bb1568dcabdd8d72b55880ca8295 | a4a05b21aaadfbda04524b7dbfb33d7bd333769a | refs/heads/master | 2022-01-28T05:51:10.443211 | 2022-01-16T11:59:32 | 2022-01-16T11:59:32 | 8,688,053 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,964 | r | simExtraction.r | ################################################################################
# TODO LIST
# TODO: Use truncated normal distributions?
################################################################################
# NOTES
# ...
################################################################################
# CHA... |
4a08427fd13ca7e77bce065bab311b090c50bad8 | f22ee4eed9787b55a7a97413117576ece0cbdeb3 | /man/mvrnorm.Rd | cbb5c3eed68fa99b27d15a10a33443325c2ee181 | [] | no_license | xza666/StatComp20038 | 815191f3131fa18140c37a528d164b0c76eb2271 | a29e5f9777e83da1fc2310a06076f7b532129b11 | refs/heads/master | 2023-01-29T20:14:36.121823 | 2020-12-17T05:30:15 | 2020-12-17T05:30:15 | 321,563,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 365 | rd | mvrnorm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/StatCompR.R
\name{mvrnorm}
\alias{mvrnorm}
\title{A function to generate a sample with Multivariate normal distribution}
\description{
A function to generate a sample with Multivariate normal distribution
}
\examples{
{
sigma1=matrix(c(1,0,0,... |
920115d0abb216e77e83936723443accf3607df8 | 3638e75fe8127096645dd0348e67668e034dc00b | /exp/chaotic-bank/bank.R | eaada76073eca70122d1dea30d93425a14f561d4 | [] | no_license | oleks/diku | dd0b7bc85f96d71b561be3180ff031f830f0b98c | 39c59bb9a202d417f905aada012f64221e4c9419 | refs/heads/master | 2021-06-13T07:38:38.952618 | 2017-01-25T20:47:31 | 2017-01-25T20:47:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 176 | r | bank.R | printf <- function(...) invisible(print(sprintf(...)))
account <- exp(1) - 1;
printf("%f", account);
for (i in 1:25) {
account = i * account - 1;
printf("%f", account);
}
|
7d953ebcb518b9bcfd816c693c80c237a24310a3 | db1ed89c9234364e43c56c9ef2dac5e1e3dd6b9d | /plot3.R | 2a01a2aeab56a86cec92505821fa01db4be21b75 | [] | no_license | pandabrowski/Exploratory-data-analysis---2nd-project | 648c7d7cac8ac06a4fd6e4991479d7386f9738ff | 5dc052cf1a39a7f3fc6d030db2ff8d6a4cd451b4 | refs/heads/master | 2020-06-02T04:13:59.498024 | 2014-10-26T22:29:24 | 2014-10-26T22:29:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | r | plot3.R | #Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable,
#which of these four sources have seen decreases in emissions from 1999-2008 for Baltimore City?
#Which have seen increases in emissions from 1999-2008?
#Use the ggplot2 plotting system to make a plot answer this question.... |
0d097e5161ce18937ff38a17aa89339932f98935 | 27cf2d56ebb117703873f45745a2da819b039467 | /man/datacggm.Rd | dbe57635d0fdefce3ded01f0b41e1fecfbedd72a | [] | no_license | cran/cglasso | 019589498b51044816bed94e93f2349fe588a236 | 4ccfb2d8b3eecd47905f5a50e556ba3ddebb496e | refs/heads/master | 2023-01-20T23:58:16.552881 | 2023-01-17T16:00:15 | 2023-01-17T16:00:15 | 148,851,182 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,194 | rd | datacggm.Rd | \name{datacggm}
\alias{datacggm}
\title{Create a Dataset from a Conditional Gaussian Graphical Model with Censored and/or Missing Values}
\description{
\sQuote{The \code{datacggm}} function is used to create a dataset from a conditional Gaussian graphical model with censored and/or missing values.
}
\usage{
datacggm... |
a0d4837c1c463e76d3107e6588c7de2b16d365f1 | bc3a175d59dd615cd7435254496f5a1da08e42cf | /man/rich_pois.Rd | 588db386c80f1dfc215d3f1ca596f20ff6d7da65 | [
"MIT"
] | permissive | joon3216/funpark | 1dcf3a1d9893beb4fd90d85b79542406af58f40d | 61e05ded919fa530d936f15defc7899dec25f3da | refs/heads/master | 2020-06-01T04:17:01.712343 | 2019-06-17T18:44:13 | 2019-06-17T18:44:13 | 190,632,295 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 800 | rd | rich_pois.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funpark_data.R
\docType{data}
\name{rich_pois}
\alias{rich_pois}
\title{rich_pois dataset}
\format{A data.table with 8 rows and 4 variables:
\describe{
\item{gender}{gender, either \code{M}ale or \code{F}emale}
\item{criminal_record}{... |
6bceafe6b906287b19d96d465ae3a0dbe6e445f7 | b9114e35d530b9b4ddd5947fddb488edbf798be6 | /man/make_filename.Rd | 2f478d8cbf6ee104edcfd2c8bc9980fba3c50c58 | [
"MIT"
] | permissive | franc1995/Nuevo | d333ca56a9dbcf93dd6a72e812a8fe9ada0b1dee | 1a572ea8177b1520c7bb3c9a00b7b8fd75139634 | refs/heads/master | 2021-05-12T04:48:17.755022 | 2018-01-10T11:53:31 | 2018-01-10T11:53:31 | 117,174,338 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 543 | rd | make_filename.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{make_filename}
\alias{make_filename}
\title{Builds the name of a FARS file}
\usage{
make_filename(year)
}
\arguments{
\item{year}{The year to build the file name}
}
\value{
The name of the FARS file containg the data
}
... |
af7d96f8a16a25009ccdf581ae5a7181dfb7aaff | 8cc3c330ccfdeaee44117ab31354a7f8302e8498 | /cachematrix.R | 739a1f4c95b8b72f42057c6840349edf1a11677f | [] | no_license | paultchatcha/ProgrammingAssignment2 | 2753dc09bb7a5402513c5534ea0bf0d929f38898 | b71c5b1e956373a4f82946dd4aca5c4516ccc0f1 | refs/heads/master | 2021-01-18T16:34:33.911099 | 2016-02-05T14:11:35 | 2016-02-05T14:11:35 | 51,145,151 | 0 | 0 | null | 2016-02-05T12:25:56 | 2016-02-05T12:25:55 | null | UTF-8 | R | false | false | 869 | r | cachematrix.R | ## These functions intend to invert a squarre invertible matrix
## using the cache
## This first function creates a special 'matrix'
## which is really a list containing pseudo-functions
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function(y) {
x <<- y
inv <<- NULL
}
get <- functio... |
e44982edcf881025b1a8dcc63f1b30e7d070c72b | d4ae1c925add14251620f7fa4b92d52573185829 | /SNU/R/Data_mining/170829 ridge regression.R | b9b200a590cddf44f41da065dc8c64a39b0c1cbd | [] | no_license | kookoowaa/Repository | eef9dce70f51696e35cec6dc6a5d4ce5ba28c6d7 | 26f9016e65dbbc6a9669a8a85d377d70ca8a9057 | refs/heads/master | 2023-03-08T01:36:29.524788 | 2023-02-21T16:11:43 | 2023-02-21T16:11:43 | 102,667,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 503 | r | 170829 ridge regression.R | library(glmnet)
credit = read.csv('../Data_Mining/Credit.csv')
head(credit)
attach(credit)
Income = scale(Income)
Limit = scale(Limit)
Rating = scale(Rating)
grid = 10^seq(10,-2, length = 100)
x = cbind(Income, Limit, Rating, Student)
y = Balance
ridge.mod = glmnet(x, y, alpha=0, lambda = grid)
dim(coef(ridge.mod))
c... |
be60c350833971b975fbdafeda23251aa71eb4af | 4b626cfff176e5520e60eb8e60d051090cecd15c | /src/GLFMR/init_default_params.R | 9e986552ad9df5d5c49d2ea429d3c5cee6a31ee0 | [] | no_license | ml-lab/GLFM | 366a876cc8772c3c56ed5deb772de616e33ad19d | 2dd55a64a62d54f46d0c7099905d80ded644a8d7 | refs/heads/master | 2021-01-15T22:08:35.292235 | 2017-08-04T12:10:16 | 2017-08-04T12:10:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,222 | r | init_default_params.R | #' Function to initialize or complete params structure with all
#' simulation parameters and hyperparameters for the GLFM
#' @param data is a list with X, Z, C in order to be able to initialize
#' @param params with data-based values
#' @param t: eventual external transform of obs. X = params.t{d}(Xraw)
#' @param t_1... |
cca0c4bc912c6832863dcecf497c4f59da799e67 | 527cff34256966e0c0798879da45e829d8d143c5 | /Hamilton/HamiltonDF.R | 85f3d0b90ebfe2d4afa31a38cc62fe36f19782eb | [] | no_license | DomiSchr/Hamilton | 92286095c08fb2631d297039268aac202a0d9269 | 5b5b05f51cef7279d0ec954312e02cbb98d5b08f | refs/heads/master | 2022-11-14T00:35:32.203949 | 2020-07-07T14:57:05 | 2020-07-07T14:57:05 | 248,734,286 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,644 | r | HamiltonDF.R | Hamilton <- function(p, h, q = 0) {
# Largest remainder method for the Apportionment Problem
#
# Args:
# p: a data frame with the names of the states as first column
# and the equivalent population
# size in the second column.
# h: the house size as variable.
# q: the quota. Choose: 0 fo... |
f781318cabd03ecd5d16800d3652281a9541b285 | 98d0a78eec76dd9ff4f11a230946096e9915a049 | /cachematrix.R | a3e3fd9713b1a7d935b72e2db688463b347b3067 | [] | no_license | ThurstonT/ProgrammingAssignment2 | e1484a38a884ecfbe54012bf0a3e892b41277f54 | b69e01920c688f431fc27e3cf935a387cc99a67d | refs/heads/master | 2021-01-18T16:11:25.909845 | 2015-10-24T05:52:07 | 2015-10-24T05:52:07 | 44,719,467 | 0 | 0 | null | 2015-10-22T03:18:23 | 2015-10-22T03:18:23 | null | UTF-8 | R | false | false | 2,338 | r | cachematrix.R | ## These functions will allow a matrix to be stored in the global environment.
## MakeCacheMatrix is a function that puts the matrix in the global enviroment.
## Cachesolve stores the inverse of the matrix in the global environment.
## These functions work with the understanding that the matrix is a square matrix... |
4fb7c6ef67ccc4dca7024748ebf8653d34f925ce | 27a252b1403e7dcbf239dcab428cf6ab3f9a75f2 | /blblm/man/confint.blblm.Rd | 9a52419387119c8e42ca73a81d2a0df44ccaf5f1 | [
"MIT"
] | permissive | AWayzy/blblmProject | e7a726ba93f86ea00662b0dd8fd846e91bd2a4ce | 8abe92677bc379fe25f487ed67d8a5d6ce1d63c5 | refs/heads/main | 2023-06-29T17:38:32.042667 | 2021-07-23T20:39:57 | 2021-07-23T20:39:57 | 348,892,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 591 | rd | confint.blblm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blblm.R
\name{confint.blblm}
\alias{confint.blblm}
\title{Confint blblm}
\usage{
\method{confint}{blblm}(object, parm = NULL, level = 0.95, ...)
}
\arguments{
\item{object}{A blblm object}
\item{parm}{The given parameters to be estimated}
\... |
fd107bf980ce7d2929ba9f2d445eaabe5068b437 | dbf154fc24d0361587fbb24c0e6f94858d659578 | /Data_Analyse_Park/R_file/day10_hojin.R | e4e3a4aaff5bdb20ad85266e4bbe6757404ec171 | [] | no_license | aporlo21/multicampus | 9a81f30f499aa56d2cb481733ac921ccc7d8d389 | 4d6781dde53f343fb6058b4efcc378d9c9f8897f | refs/heads/master | 2020-05-18T03:57:52.280718 | 2019-11-22T04:51:46 | 2019-11-22T04:51:46 | 184,158,913 | 0 | 0 | null | null | null | null | UHC | R | false | false | 8,936 | r | day10_hojin.R | install.packages("RWeka")
library(RWeka) #package 함수 load
library(tm)
#Weka_control : min max 값 설정
mytext<-c("The United States comprises fifty states.", "In the United States, each state has its own laws.","However, federal law overrides state law in the United States.")
mytext #본래의 mytext
#말뭉치 생성
mytemp<-VCorp... |
c09d2d120353a347e96ab9818753e4361e1d72c9 | b9742e90e1ed5f00a95e537ba7694d8d067fe2fd | /Assignment_3_2.R | b30389bad39af71585e22a1537d97718e210cf24 | [] | no_license | Pankaj2019/Turbo-Train1 | d69cf507ba11458bf76c70c29573a87192819526 | 9a09291ef233d75a818cfc4037dece479f3783b9 | refs/heads/master | 2021-04-09T17:53:29.701584 | 2018-04-14T10:06:00 | 2018-04-14T10:06:00 | 125,724,767 | 0 | 1 | null | 2018-04-14T09:11:48 | 2018-03-18T12:54:06 | R | UTF-8 | R | false | false | 3,036 | r | Assignment_3_2.R | cerealData<- read.csv("cereal3.csv")
cerealData
cerealData <- data.matrix(cerealData)
cerealData
# NOTE : the 1st column ' CEREAL ' is Categorical data
# KMEANS needs only Numerical data. So, convert the Categorical data to Numeric first
cerealData[,1] <- as.numeric(cerealData[,1])
class(cerealData[,1])
#... |
91cf36ca371b3666f6f1f2b62c3702bc3cffa750 | fc9ef092fa687376d9bd538525d8a01553b489b4 | /Statystyka/R/pierwsze_zajęcia.r | acd0af4fcea0ef50659b78fcb261780159c73224 | [] | no_license | BatuIks/GOG | 3e0fe9190f7405352e7640d3552c682cb559ccbf | a86ed1952937c8b6e5c5aa97b83d5a27eda24b5c | refs/heads/master | 2020-12-30T16:40:03.406316 | 2017-11-13T03:28:25 | 2017-11-13T03:28:25 | 91,002,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 640 | r | pierwsze_zajęcia.r | x = 5
y = c(2,6,7)
z = c(4,5,9)
z+y
z-y
z*y
z/y
wektor = c("Daniel", "nie odmawia", "pacierza", "przed","snem")
wektor2 = c(1,43,63,26)
#nie rozumiem
wektor2 = as.factor(wektor2)
#nie rozumiem
wektor2 = as.numeric(wektor2)
x = 1:9
tab = matrix(x, nrow = 3, ncol = 3, byrow = TRUE)
tab
x = c(2,3,"haafg")
tab = matrix(x, ... |
d17f38020d336aa775e780b8d71e3c356c37449c | f06d2040542a5d1362e1bc339f7ead20e70862c6 | /man/TraceBrewer.Rd | 3f1201f7bcd85c4683f7732e56de4a7a81c880fa | [
"MIT"
] | permissive | leeleavitt/procPharm | 89d65f718d6328b605578b2d8308113af0b39e7f | b09ce82a76658cf46c7427b0c106822c8cadfdf7 | refs/heads/master | 2023-04-13T10:26:45.239945 | 2021-02-02T18:06:58 | 2021-02-02T18:06:58 | 213,467,533 | 0 | 1 | NOASSERTION | 2023-03-25T00:53:08 | 2019-10-07T19:22:32 | R | UTF-8 | R | false | true | 548 | rd | TraceBrewer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tracePrep.R
\name{TraceBrewer}
\alias{TraceBrewer}
\title{This is our trace cleaning protocol}
\usage{
TraceBrewer(dat, bscore = F, blcPrep = T, verbose = F)
}
\arguments{
\item{dat}{is the RD.experiment to input}
\item{bscore}{logical, if t... |
e362fbd1f6f616d94a84b1ad8dcd4e779165c095 | 9df69dbe58ff3a85b9e62b3249b36b3bdc3f828e | /P556HW2/R_Files/Prob1.R | fe0c0d63153230f89aa149708afb1eb851b9e422 | [] | no_license | chuckjia/P556-AppliedML-Fall2017 | e14ab07d56b75afd70cebb017e62e762e8ce584e | 5f5fe35363dc86bccbd48b4edcf91a87b9d0a0ff | refs/heads/master | 2021-09-27T22:09:51.151350 | 2018-11-12T05:10:38 | 2018-11-12T05:10:38 | 112,528,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,151 | r | Prob1.R | # Problem 1
# Part (a)
rm(list = ls())
dissimMat = matrix(c(0, 0.3, 0.4, 0.7, 0.3, 0, 0.5, 0.8, 0.4, 0.5, 0, 0.45, 0.7, 0.8, 0.45, 0), nrow = 4, byrow = T)
dissimMat = as.dist(dissimMat)
hclustRes = hclust(dissimMat, method = "complete")
plot(hclustRes, col = "darkgreen", xlab = "Observations")
# Hand calculated resu... |
c4996a4f54919dfaf840799827f3a7de32b92835 | a2fc8a30ac33d8a2a4f0bc254ce4042b2fe66a1d | /Rscripts/GenerateTestsOutputs.R | 911936a99fe7c8cd4d3330570ee77d33831ec09c | [] | no_license | UAQpqd/synthSignal | c9c017f4d7b1bcbcf313b4a22dfb4cdc3f63700f | 963f52a50a34d35e3858a45ae4792d0eaf5ed075 | refs/heads/master | 2021-09-10T14:57:01.641419 | 2018-03-28T05:01:14 | 2018-03-28T05:01:14 | 116,705,546 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,103 | r | GenerateTestsOutputs.R |
PlotCSVWithTitleAndLabels <- function(csvFilename, plotTitle, xLabel, yLabel)
{
df = read.csv(csvFilename)
plot(df$time, df$amplitude, type = 'l',
main = plotTitle, xlab = xLabel, ylab = yLabel)
grid()
}
SignalTest_SignalWithOneWaveform_CheckWaveformIsGenerated <- function()
{
PlotCSVWithTitleAnd... |
639942bf7e09847370edbf944df9e08c7deddeb3 | 66a7e8ca677bed32c72c4cc10cf32f6e6fcf6da9 | /jhickeyST790/R/convex_functions.R | 690380999b880503dd4f6bc9a9501aa5f6402d48 | [] | no_license | JimmyJHickey/ST790-Advanced-Computing | e6086ac43a36ff3d4d4c9f847b13525b9b53aa7c | 1d3c5e445e287c2a36b81a44c1e5acd2c123c91a | refs/heads/master | 2022-11-17T09:53:54.052499 | 2020-07-17T20:40:22 | 2020-07-17T20:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 460 | r | convex_functions.R | #' Take the log of the determinant of a matrix.
#'
#' @param in_matrix A square, positive definite matrix.
#' @return The log of the determinant of \code{in_matrix}.
logdet <- function(in_matrix) {
# check that the input matrix is square
if (nrow(in_matrix) != ncol(in_matrix))
stop("'X' must be a square matrix... |
33b755da313febf104fb4a0090eddfc97fb81280 | 9bba31a6551902ea5f032521d87c3b97eaf2bb5e | /Step2_SJmaker.R | 5b9116d73b12ae92ccdec1a86b2246fcf47b38dc | [] | no_license | Raul-Nicolas/SAVIRAV | a12bc83515f2d355615498b8093386ee2bc46251 | 710427ab8cfaa171c2f335981ab9313890ab8f1a | refs/heads/main | 2023-02-20T07:55:19.835352 | 2021-01-15T07:36:51 | 2021-01-15T07:36:51 | 319,856,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,891 | r | Step2_SJmaker.R | library(Rsamtools)
library(stringr)
cigarcleaner <- function(cigarunsplitted){
value = c()
class = c()
cigardf = data.frame("value" = character(0), "class" = character(0), stringsAsFactors = F)
cigarspread = (str_split(cigarunsplitted, "")[[1]])
row = 1
for(cont in 1: length(cigarspread)){
if... |
6ce8b4f1bad5e28d3499d5a88cace185f389685b | 39e0322af1bc2ff6711a051bc984ca38a1e6152e | /gg/ggplot_04-03_geometries_line-plots.R | 8689f8ad890b31cdde306a4c1a266824eb497e5c | [
"MIT"
] | permissive | achungerford/Datacamp | eebf1a3d8f00b9d40f81ede1bf85b65769822f5a | 400f55a24c0588698f672c1e757ce6021e9988df | refs/heads/master | 2021-06-25T07:04:25.771035 | 2019-07-27T01:10:55 | 2019-07-27T01:10:55 | 150,895,641 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,547 | r | ggplot_04-03_geometries_line-plots.R | #
# author: Alexander C. Hungerford
#
# created: 28 November 2018
#
# title: Datacamp
# Data visualization with ggplot2 (Part 1)
# Ch. 4 - geometries
# section 3: line plots
library(tidyverse)
data("mtcars")
load("gg_recess.RData")
load("gg_fish.RData")
load("gg_iris.RData")
###############... |
8694f56aec7000820b7f6d213e4138f760349c55 | f8731866d3dfc0d36cd7109ac72a270417372796 | /Boxplots/TaxasReprovacaoAbandono.R | 864c55e98415db2ab02d2ef7e633a63513088f49 | [] | no_license | supervedovatto/AnexoA | 68f58e0ebd4cabb87d4b61cda0c49af612d06099 | d330ce98c4d94ceeb6504ac2a3dca9e3cca50537 | refs/heads/master | 2023-04-30T07:38:28.522871 | 2021-05-11T16:37:22 | 2021-05-11T16:37:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 937 | r | TaxasReprovacaoAbandono.R | Dados <- Taxas %>%
filter(Ano >= "2013-01-01") %>%
mutate(Valor = Valor/100)
TaxasReprovacaoAbandono <- Dados %>%
ggplot(aes(x = factor(lubridate::year(Ano)), y = Valor)) +
geom_boxplot(color = mypallete[1]) +
geom_point(data = filter(Dados,Localidade == LocRef$Localidade),
aes(x = fa... |
b43400352e28ac270b38799b52d89abcc183e0b0 | 70a7ea1267bebcca99d74d8d3237afd7f0500053 | /R/get_cluster.R | 971bb8b757bce0b6997e2ef785f70b393c1b21f6 | [
"MIT"
] | permissive | s3alfisc/summclust | 91bed1c958bc6e0d0b6fbaab630f021f0cdb41b7 | 2d25c68eb046028b680fdc8c9827820f7e791827 | refs/heads/main | 2023-06-25T05:09:55.973582 | 2023-06-11T16:55:10 | 2023-06-11T16:55:10 | 504,094,498 | 5 | 2 | NOASSERTION | 2023-06-12T21:38:15 | 2022-06-16T09:33:24 | R | UTF-8 | R | false | false | 4,345 | r | get_cluster.R | get_cluster <-
function(object,
cluster,
N,
call_env) {
#' function creates a data.frame with cluster variables
#'
#' @param object An object of type lm, fixest, felm or ivreg
#' @param cluster the name of the cluster variable(s) as
#' a character vector
#' @p... |
6c302efc86f505e8bdcf4a26956dd745ece703c4 | e907e2dbd415ad7e733a774e4b72322f70f6f28e | /R/getUrlListByCategory.R | 995d1149635ab4370bfb431e9b0ba5a8e75162a8 | [
"MIT"
] | permissive | ilyeong-ai/N2H4 | fc5826bc2f3fcd3f36230b2e5503132ce7e32575 | 46bb3608d32d77822bfd748decd3b9ed19349588 | refs/heads/master | 2023-06-11T10:46:29.289974 | 2016-11-17T18:35:16 | 2016-11-17T18:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,136 | r | getUrlListByCategory.R | #' Get Url List By Category
#'
#' Get naver news titles and links from target url.
#'
#' @param turl is target url naver news.
#' @return Get data.frame(news_title, news_links).
#' @export
#' @import xml2
#' @import rvest
#' @import stringr
getUrlListByCategory <- function(turl = url) {
tem <- read_html(turl)
... |
34908def7c14c963153c680894fd4f30bef191ed | 181509c405fe09389ad16a78ec972f9063bead65 | /company.R | e5a20e48bdee1baa5606ed72ac75c11feff7e716 | [] | no_license | justdevelopingstuff/cli-invoicing-app | fecfb3bd24778610acf2e8bd91e7d6381e93f3b5 | 5ee8a6ea99b9eb94d4ffe9566655473992a965f3 | refs/heads/master | 2021-01-12T06:47:02.153535 | 2017-06-15T06:44:38 | 2017-06-15T06:44:38 | 76,827,323 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 372 | r | company.R | database <- read.csv("company_database.csv")
selection <- read.table("company.txt")
companies <- as.data.frame(unique(database$company))
chosen <- as.character(companies[as.numeric(selection[1]),])
write.csv(chosen, "company.csv", row.names = FALSE)
company <- subset(database, subset = database$company == chosen)
writ... |
b61528cdbc8490114b47138c12a27b5e984fe608 | e5102597e47c4e4077aaffab3b6c063a5b526af5 | /plot3.R | 552a73f0af08720de18adadb66475eb38351e84f | [] | no_license | knjenga/ExData_Proj1 | a4dec46e7008427528388fd495570324a19e5706 | 66e6eb2428834a80ebc74bbd8fe86a4998631ee3 | refs/heads/master | 2021-01-01T16:00:22.570945 | 2015-03-07T20:16:53 | 2015-03-07T20:16:53 | 31,825,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,783 | r | plot3.R | # This srcipt is an Exploratory Data Analysis script
# The script evaluates a single households electricity house usage for two days in a year
# The script creates an Exploratory line graph of the sub meter reading instaled at the house
#
#Load the required library functions
library(dplyr)
# The function assumes that ... |
e22b83311af43af4cf468ef5754fc137867a3f25 | 5cad1fb4d5af966bd0014c9bdd67087befffd953 | /cachematrix.R | ea892c5da75eaa7c6dfdaa87771eae1915a0e55f | [] | no_license | ptricker/ProgrammingAssignment2 | 7d8086657922353bbc12f5111086e23afbfa349c | 81bb0d64ad2b2d6b0f1741dbb8e0329c220d3589 | refs/heads/master | 2021-01-18T11:01:42.511545 | 2014-06-16T10:05:51 | 2014-06-16T10:05:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,323 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
## This function assigns a list of four functions to x
## First it sets the value of the matrix then it gets it
## Then it sets the value of the inverse of the matrix then it gets it.
m... |
2e094d68a25bc5bb5962c7eba6d813b084b8a20b | baeb6f631cce546c005cb1054184dc8c2f808043 | /R/getLossFoodGroup.R | 5ac54d7350fd59fab2f7282fcb5849c21d9ef12c | [] | no_license | AEENRA/faoswsLoss | ccd5401fcab754d786a3d6c24f41b2e6231e63e4 | 20a17e9919e37577472eaeb8dcc801ff85dafa8d | refs/heads/master | 2021-06-12T09:35:20.169083 | 2017-01-18T14:02:21 | 2017-01-18T14:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,216 | r | getLossFoodGroup.R | ##' Get Loss Food Group
##'
##' Function to load the loss food group classification
##'
##' @export
getLossFoodGroup = function(){
## update in SWS to match contents of CSV file
## see functions decribed using ?faosws::SaveDatatable
## lossFoodGroup = ReadDatatable(table = "loss_food_group")
## lossFoodGroup... |
0403746d780cce6767f255ff1bba20b7ced4e759 | b4fd4d908d8a1e6d5926f1b27ba5ebb8373ee5d0 | /script.r | 0c1ded46687950372f72965903f19f110bfada0a | [] | no_license | JonMinton/d_with_shp | ac18dcee2b0ee31e5cd6637fb8a10d8432500155 | 278495de885cf8ae2f613d66b0ddd39f8aee1ae8 | refs/heads/master | 2019-01-02T08:48:26.482365 | 2015-05-11T15:53:27 | 2015-05-11T15:53:27 | 27,070,229 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,950 | r | script.r | rm(list=ls())
#####################################################################################################
require(reshape2)
require(plyr)
require(stringr)
require(ggplot2)
require(maptools)
require(grid)
require(spdep)
require(Rcpp)
require(MASS)
require(CARBayes)
require(shiny)
require(dplyr)
runApp("sele... |
93644fed827e0cbdc077963822d280d328d998c2 | 1b8e377dbd6ae1a43f41d061b687f08d418be8f9 | /scripts/S13_gal2_phylogenetics.R | 879b0067fa480ee3de193840a16454a72d6f7c62 | [] | no_license | theboocock/ancient_bal_scripts | 05b466cf93b1d565d61c2ab2e3b1e596a3480c3b | 1feb21de62bda07d328db08a1863c518f4954fb1 | refs/heads/main | 2023-04-07T23:57:55.883197 | 2022-03-04T00:53:40 | 2022-03-04T00:53:40 | 306,750,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,193 | r | S13_gal2_phylogenetics.R | library(ggtree)
library(phangorn)
library(treeio)
library(tidyverse)
sliding_divergence = read.table("data/popgen_in/sliding_divergence_noah.txt", header=F)
#sliding_divergence %>% ggplot(aes(y=1-V3,x=V4 ,color=V1)) + geom_line()
gal2_prot = read.table("data/popgen_in/gal2_protein_structure.txt", header=F,stringsAsFact... |
101955ad159989b77c685637575ed73c34314597 | 59b353f88282b1e5e4ee5c681f5d4883e5710c4b | /R/phylo__makeFastANIDistMatrix.R | e77da5efa2b48f0fa29a76276ffb9b6e7447f2fe | [
"Apache-2.0"
] | permissive | wanyuac/handyR | 189cc702473bee1a84a936395b36634dc44b9857 | 9052418c6c25f681b609dc7932e4b7cec349346d | refs/heads/master | 2023-02-22T08:08:23.821924 | 2023-02-18T13:04:33 | 2023-02-18T13:04:33 | 143,516,913 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,198 | r | phylo__makeFastANIDistMatrix.R | #' @title Make a distance matrix from FastANI output (tab-delimited file)
#' @description This function coverts a FastANI output into a distance matrix.
#' @param f Path to the tab-delimited output file of FastANI
#' @param keep_asym A logical flag specifying whether to keep the original asymmetric distance matrix.
#' ... |
f776f14272a43e306250a9928421112fb21ecce7 | 26eb90e452144a64ac6b300e61533eb5d7923b35 | /Final Project/Maps/Previous Project - AMAR_Mapping.R | a89f5ab9984de302adc3edd50f9bcec7acd8dab8 | [] | no_license | ETD-988-MD/psyc789w-HM | 5e575385cce72e1eae83691cf8cc9db444915932 | 728734aa46052104df459eda247c0adabcdff494 | refs/heads/master | 2021-01-04T22:33:03.536064 | 2015-05-01T19:20:38 | 2015-05-01T19:20:38 | 29,163,326 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 41,213 | r | Previous Project - AMAR_Mapping.R | ####### MAPS ########
install.packages("ggmap")
require(ggmap)
exeratio <- read.csv("exe_access_ratio.csv", sep=",", header=T)
View(exeratio)
install.packages("rworldmap")
require(rworldmap)
#To view inside the function: mapCountryData()
map1 <- joinCountryData2Map(exeratio,
joinCode = ... |
7fb2c1bb2055a9f92e38a1c0e84dc0d0aeb5552a | a3514194e5bcb9eac1c7df6c1f00b66cf48c2546 | /man/grapher_line.Rd | 0da555f8b1c45285767df89c3605aec1e0137b31 | [
"MIT"
] | permissive | piersyork/owidGrapher | 066e1888adadf5b51e487bdfee5dd2617cba3963 | 463642a4532201cee01f454b88e6fc2ac20724ce | refs/heads/main | 2023-08-07T12:36:35.731238 | 2021-09-13T18:02:14 | 2021-09-13T18:02:14 | 404,801,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 558 | rd | grapher_line.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/owid_grapher.R
\name{grapher_line}
\alias{grapher_line}
\title{Add a line graph to the grapher}
\usage{
grapher_line(
grapher,
selected = c("United Kingdom", "France", "Spain", "Ireland"),
change_selected = TRUE
)
}
\arguments{
\item{gr... |
d2825cb6cf8e5c304013ebfd0ed498d36d16fbd7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ConR/examples/EOO.computing.Rd.R | 96432184ed01171b77a47737186200e7b151655a | [] | 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 | 377 | r | EOO.computing.Rd.R | library(ConR)
### Name: EOO.computing
### Title: Extent of Occurrences
### Aliases: EOO.computing
### ** Examples
data(dataset.ex)
data(land)
## Not run:
##D EOO <- EOO.computing(dataset.ex)
##D
##D ## This exclude areas outside of land (i.e. ocean) for EOO computation
##D EOO <- EOO.computing(dataset.ex,
##D ... |
51468c15eae24c8736298aa621a6d64c05be137b | 6edafc6ceeb25871f99475ba6816b27842c516f7 | /man/basic_probes.Rd | fb73bbf50a2dd67a5f97924cf2c24e752ddc1b3b | [] | no_license | ashtonbaker/pomp | 194c5a9349ea3d42661353730ed85bce10c40aac | 01eecebcb5394ecb0ea755e5decf1e8100f7379a | refs/heads/master | 2021-01-22T01:42:46.973424 | 2016-08-26T16:44:58 | 2016-08-26T16:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,956 | rd | basic_probes.Rd | \name{Probe functions}
\title{Some useful probes for partially-observed Markov processes}
\alias{Probe functions}
\alias{probe functions}
\alias{basic.probes}
\alias{probe.mean}
\alias{probe.median}
\alias{probe.var}
\alias{probe.sd}
\alias{probe.period}
\alias{probe.quantile}
\alias{probe.acf}
\alias{probe.ccf}
\alias... |
5e6dceafd2b444b8cd21db76886fca06d4edc508 | 593b129c6fdcb8335cf85680def6e1ffb031ca5c | /05-Model_parameters_table.R | 22bae3707b5be10f0120d621cbf60b1291d4de74 | [] | no_license | qureshlatif/Northern-Sierra-Woodpeckers | 4d11e56311f490140d7f6315e051f62de2bfc715 | 6449a0eadd339b6ada28776a9091949d7deaf3e5 | refs/heads/master | 2021-01-20T08:01:13.466686 | 2020-02-27T16:21:30 | 2020-02-27T16:21:30 | 90,082,572 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,619 | r | 05-Model_parameters_table.R | setwd("F:/research stuff/FS_PostDoc/consult_&_collaborate/PtBlue_Sierra/")
#################################################
# Tabulate descriptive statistics of predictors #
#################################################
library(dplyr)
library(R.utils)
require(stringr)
load("Data_compiled.RData")
RS.BBWO <- loa... |
0ad05fb47dddc261197b93b0c163bc6cef575e7b | 1545a9a83a534c13efb9788ed255a94861579d3f | /pca.r | 217b2080d0c48aec4109d1b35c806096f326b5a5 | [] | no_license | sgkamal/Data-Mining | 5d0d04f81e9fe6881273858f2a287fa331a90012 | 45522ebf3f597bee806de2c5a186742a4eae3dc3 | refs/heads/master | 2020-03-19T02:21:30.369510 | 2018-05-31T19:35:47 | 2018-05-31T19:35:47 | 135,621,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,073 | r | pca.r | #demonstration of principal components to remove redundant features in data matrix
data('iris');
X = as.matrix(iris); # the apparent dimension of the data ... you'll see
X
#stopp;
r = ncol(X); # the real dimension
n = nrow(X); # num data points
X = matrix(runif(n*r),nrow=n,ncol=r);
X
# original data matrix with r in... |
337e248dd5adf9dfdaa19417c844172a52dc34ed | 59a11a2b13b2cda5eec0d6c27710477b458cc2c9 | /210202_excel 불러오기_miju.R | c196b5f807d1e63d3e224068840bf82b8675283f | [] | no_license | mijoo159/scnu_R_class | 766e033ff0070647abe1e7efcfa960c7dfaddbe2 | 8f407838ba7062461433b4bfc297486b563d69d7 | refs/heads/master | 2023-03-02T20:01:30.427454 | 2021-02-05T08:21:09 | 2021-02-05T08:21:09 | 334,851,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 129 | r | 210202_excel 불러오기_miju.R | # 엑셀 불러오기
install.packages("readxl")
library(readxl)
test <- read_excel("./teacher/Data/excel_exam.xlsx")
View(test)
|
1772a364d4b17739a3add3fd4a315abc308df5b8 | 2ba6f0a982c3092e70de12fff4ccac047feecab0 | /pkg/tests/calcSpreadDV01.test.R | e2927a3ca4b08343319cd9e1d57f3d941c0f0ed0 | [] | no_license | kanishkamalik/CDS2 | 7b77cce8a5ae9fa367ff6818311ea8f745affbab | 18644a02c9e8031de42d548618717b09ed327053 | refs/heads/master | 2020-04-05T03:15:34.360446 | 2014-05-03T16:29:47 | 2014-05-03T16:29:47 | 19,469,784 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,310 | r | calcSpreadDV01.test.R | ## calcSpreadDV01.test.R
library(CDS)
## truth1 <- calcSpreadDV01(TDate = "2014-01-14",
## currency = "USD",
## maturity = "5Y",
## dccCDS = "Act/360",
## freqCDS = "1Q",
## ... |
27ce2289710b03bf5f6388f7fc6ed06bfa332f57 | 423acf0de71a2a6be96b52dec91f8484e7b4990e | /man/pool_estimated_probs.Rd | 26c9865885e17dbb3f1c3014fd5e2e5aa8114522 | [] | no_license | cran/NPBayesImputeCat | 0a7bb36a5eb0ca56ae516a558077611576e57d00 | 1f7f89a1076edc4dfc10a31543c9e42277a7554b | refs/heads/master | 2022-10-14T10:42:56.975697 | 2022-10-03T12:30:02 | 2022-10-03T12:30:02 | 158,117,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 659 | rd | pool_estimated_probs.Rd | \name{pool_estimated_probs}
\alias{pool_estimated_probs}
\title{
Pool probability estimates from imputed or synthetic datasets
}
\description{
Pool probability estimates from imputed or synthetic datasets
}
\usage{
pool_estimated_probs(ComputeProbsResults, method =
c("imputation", "synthesis_full... |
727c1c6da67d75bb81ea77ac4a0c64f3f7744a89 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mondate/examples/YearQuartersFormat.rd.R | a5748784f6c76758921f1bf28b40b75371ae89d7 | [] | 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 | 250 | r | YearQuartersFormat.rd.R | library(mondate)
### Name: YearQuartersFormat
### Title: Formatting Functions for mondate Objects
### Aliases: YearQuartersFormat
### ** Examples
b <- mondate(1:12, formatFUN = YearQuartersFormat) # end of first 12 months of 2000
b
|
a045e61772798ddad6a0765a2954556bf6b81797 | e234e6e2eeb20cdc42e144c61d503cc266eb462b | /man/get_c_stat.Rd | f15a0ab59315c2b882c65e21548481e0b2a8ca4d | [] | no_license | tinyheero/survutils | 5f12272c97d99d0646104a8de5ce8eb5a5760a02 | 7676954de71aff49d99bc8695d7d83ad44bc2e44 | refs/heads/master | 2021-07-15T08:38:29.707595 | 2018-07-21T15:05:42 | 2018-07-21T15:05:42 | 39,530,728 | 11 | 3 | null | 2020-07-08T21:53:03 | 2015-07-22T21:15:11 | R | UTF-8 | R | false | true | 1,031 | rd | get_c_stat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_c_stat.R
\name{get_c_stat}
\alias{get_c_stat}
\title{Calculate C-statistics}
\usage{
get_c_stat(in.df, endpoint, endpoint.code, prog.factor, tau.val)
}
\arguments{
\item{in.df}{data.frame containing all the input data.}
\item{endpoint}{C... |
bc1407e714a0819f0b2f7ed0b17b1e52dcde0006 | 09c2196beab7422bda070c28afd41dec2a9d094d | /tests/testthat/test-weightFunctions.R | ce3e1ae4940f520537b67df71fab35ce954b34e3 | [
"Apache-2.0"
] | permissive | sverchkov/SelfControlledCaseSeries | c37964ba69f675da217fd93c8837487ed088b529 | 920493cac367e1f8812bafd0a72f777d53f79e41 | refs/heads/master | 2020-03-28T02:31:13.046277 | 2018-03-19T16:43:42 | 2018-03-19T16:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,677 | r | test-weightFunctions.R | library("testthat")
# The code below is taken verbatim (with permission) from the SCCS package by
# Yonas Ghebremichael-Weldeselassie, Heather Whitaker, and Paddy Farrington.
### Functions used to calculate the weights to be used as offset in the new model ###
#-----------------------------------------------------... |
3c66441008ffde9891e59c8e445c4dd59c948740 | 9f55904bee65b9d9f86fc3aa4643aa5d2b2f3f77 | /R/Region__medianTotalFamilyIncome.R | d6fdccfe0d74b27737d8c12f1c401d087dbc22e7 | [] | no_license | EmilJeyaratnam/Census2016.DataPack | 6580fef077146b3324cd0e5c5646b313071622c5 | 822cb07ccb2892c5e121c0a289527e4c9a300ce2 | refs/heads/master | 2020-04-08T10:43:06.955803 | 2018-11-26T12:11:19 | 2018-11-26T12:11:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 690 | r | Region__medianTotalFamilyIncome.R | #' @title Median total family income
#' @name Region__medianTotalFamilyIncome
#' @details
#' \describe{
#' \item{\code{medianTotalPersonalIncome}}{The \strong{annual} income.
#' Median total household income is applicable to occupied private dwellings. It excludes households where at least one member aged 15 years and ... |
28b0666ab3e84d6ef6f575ddb0db06db21c6a755 | f78121fe0d58d63c1f537077fc434bb112e8a565 | /2-R Programming/Week 2/cachematrix.R | 4308cc83bc86bfd106de96b83cc20bff53f9b32b | [] | no_license | ManmohitRekhi/-datasciencecoursera | 4fb237d5caa63b7006dc806d2073c66255a1a187 | 13ad2c7c12505f3c6db5edd9c02bbbe8307f0f67 | refs/heads/master | 2021-01-18T21:32:01.358620 | 2014-06-22T19:09:11 | 2014-06-22T19:09:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,647 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
#This is a function that makes a chached matrix, it can set a matrix in x
#And set the inverse in m. It returns a list containg of
#set, get, setinverse, getinverse
makeCacheMatrix <- ... |
644aadf3d415cc25501b68aafdfd6303cd0c395f | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_delete_association.Rd | d3200244d2c61bc026249ed5c6772b479c173dc9 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 579 | rd | sagemaker_delete_association.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_delete_association}
\alias{sagemaker_delete_association}
\title{Deletes an association}
\usage{
sagemaker_delete_association(SourceArn, DestinationArn)
}
\arguments{
\item{SourceArn}{[required] The ARN o... |
b1f737c3a1dd90d7cfbfde62b04b50a5120b5a0d | a4cbdeb1ec2975786dec9bec6aef0c768a7afe6d | /Test_R_script.R | 063cb975958988dff09f82859abe8f4d9bd0db3e | [
"MIT"
] | permissive | saspeak/Test_repo | 8aa9ca9f8a6d3c474cf2f1d56d84a7f90cd806d1 | 438f6c9828cb89a7f410241109b1dfe5e02c0f22 | refs/heads/main | 2023-02-21T05:17:19.269871 | 2021-01-22T14:34:29 | 2021-01-22T14:34:29 | 331,970,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 73 | r | Test_R_script.R | #### I made a new one as I made the first Privat oops
library(ggplot2)
|
d2ca92be8e361edcee6b7eac392a47b0b8a2ed1e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RAMpath/examples/plot.RAMpath.Rd.R | 4fbc61e135b459671a9db6458b000476c5cdeb87 | [] | 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 | 480 | r | plot.RAMpath.Rd.R | library(RAMpath)
### Name: plot.RAMpath
### Title: Plot the path diagram according to RAM path and bridges or Plot
### the vector field for the bivariate latent change score model
### Aliases: plot.RAMpath plot plot.blcs
### ** Examples
data(ex3)
test.blcs<-ramBLCS(ex3, 1:6, 7:12, ram.out=TRUE)
ramVF(test.blcs, c... |
c14cc13721b2eaca8775d13c3bd40243ee54cea5 | 22d1d14435a9f23b1ad657a0172f86ed9b7b5292 | /Statistiques/TP1/tp1.R | 437fed2805a9b044e2a296d88ca745d40477440b | [] | no_license | Lizeem/R | 244360dc89422a46bbdf769f97d782b52bef16b3 | f5392252c2a60f4b10426b3176ef27eec6e6880e | refs/heads/master | 2020-12-22T14:26:02.604846 | 2020-03-06T08:44:53 | 2020-03-06T08:44:53 | 236,822,702 | 2 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,405 | r | tp1.R | # commentaire
help(sort)
# Les vecteurs
ages <- c(28,25,23,24,26,23,21,22,24,29,24,26,31,28,27,24,23,25,27,25,24,21,24,23,25,31,28,27,24,23)
ages
seq (2,6)
seq(1,10, by=0.5)
vecteur1 <- (2.5)
vecteur2 <- (2.6)
vecteur3 <- c(vecteur1, vecteur2)
vecteur1[2]
x <-0
vecteur1[vecteur1 >x]
length(vecteur1)
length(v... |
e2fa8b03aa12fae1463b38e350fe809adbd3fc32 | 98bd6231799180bfda360a8c926258813a96dd52 | /Lab07/RUTTEN_Lab07.R | e6e778e12f697c4e7783546866f6145432b9416b | [] | no_license | Jeru2124/CompBioLabsAndHomework | e5deb8fd1b79e58a926b6c411e5e676249c192c6 | 728008b638b4df4b80149453325e02ea5c0b3c54 | refs/heads/master | 2021-01-11T14:49:43.755391 | 2017-05-06T02:22:16 | 2017-05-06T02:22:16 | 80,226,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,384 | r | RUTTEN_Lab07.R | #PROBLEM 1: Fibonacci Sequence Loop
#function must return vector of the first n fibonacci numbers >=3
#include 2 arguments:function must work for any number including n<3 and
#check imput for - or non integer #'s, returning an appropriate message
FibFunc <- function(n0=0,n){
if(n<=0) {
paste(n, "is not a po... |
2d6f49ca43ac42e61f073720aef617e9f4f8501e | 3705643c14ad2dc479bc4151f428b3eb431c428b | /R/fig4.R | cf393ac386b6c406bf325940c9fd380f83e92a4e | [
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | zofibos837/Paper_MPPdiag | 7ff732ef9783d78111cf046d72402f881a4f2850 | 535ea23d8bcc1ac2e96389e57ecd37143e4c37fa | refs/heads/master | 2023-07-20T21:25:16.534643 | 2021-09-03T12:19:35 | 2021-09-03T12:19:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,421 | r | fig4.R | # genotype frequencies in individuals (with markers split by MAF)
library(broman)
library(qtl2)
gf_ind <- readRDS("diag_cache/snp_freq_ind.rds")
for(type in c("pdf", "eps")) {
if(type=="pdf") pdf("../Figs/fig4.pdf", width=6.5, height=5.5, pointsize=12)
else postscript("../Figs/fig4.eps", width=6.5, height=5.5, point... |
7f5522770c6dba8e80e0136ad864422a40c3dec2 | 33b409d36eeea285326b35035b3a4a1fdbb9b1fc | /man/property.Rd | 8cadc0296ad09be7d86258c1c1e3994f0c1d3bd2 | [
"MIT"
] | permissive | krlmlr/OOP-WG | a5fde3fec28f563c3177e401832477d726164c74 | 6bfa5bafc593c12e3ad95d35de2e131d03120487 | refs/heads/master | 2023-09-06T04:51:49.090980 | 2021-10-29T14:25:09 | 2021-10-29T14:25:09 | 422,904,541 | 0 | 0 | NOASSERTION | 2021-10-30T14:31:12 | 2021-10-30T14:31:11 | null | UTF-8 | R | false | true | 1,479 | rd | property.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/property.R
\name{property}
\alias{property}
\alias{property_safely}
\alias{property<-}
\alias{@}
\title{Get or set value of a property}
\usage{
property(object, name)
property_safely(object, name)
property(object, name, check = TRUE) <- val... |
0186ae8d968a99bc44660e1cf4739425f89963d6 | 36d0c91ce570714903d27ed2b259575aec4ef2f7 | /man/SCE-internal.Rd | 957e7c6278595f3d8811d122926cd422cbfa0452 | [] | no_license | vd4mmind/SingleCellExperiment | c7e7d2bcec4d76f1a57faa836220b2eea100cd71 | 59a7e79cf8cbd3103f4d39536142ae318b61c3f5 | refs/heads/master | 2020-07-10T07:30:57.866369 | 2019-08-24T06:09:32 | 2019-08-24T06:09:32 | 204,205,190 | 1 | 0 | null | 2019-08-24T19:49:18 | 2019-08-24T19:49:17 | null | UTF-8 | R | false | false | 1,820 | rd | SCE-internal.Rd | \name{SCE internals}
\alias{int_colData}
\alias{int_elementMetadata}
\alias{int_metadata}
\alias{int_colData,SingleCellExperiment-method}
\alias{int_elementMetadata,SingleCellExperiment-method}
\alias{int_metadata,SingleCellExperiment-method}
\alias{int_colData<-}
\alias{int_elementMetadata<-}
\alias{int_metadata<-}... |
722c0d0fdf1a0498ea5a7771790b315e84200264 | 0f70bfdefadc81a490f4a8e3f26bf22c5e387b09 | /tests/testthat/test-mutates.R | bd07c40c7b25eb0c9d37ee7baca58dfaa236a6ae | [
"MIT"
] | permissive | LCBC-UiO/MOAS | 1249458d53cf3044fcfe2c75a3f8ec2a02485fff | 043c2bc24dc0493a5de3b38c89bb7df36b86519c | refs/heads/master | 2023-08-31T04:50:56.920389 | 2020-08-14T12:06:56 | 2020-08-14T12:06:56 | 144,706,570 | 0 | 0 | null | 2018-11-05T12:31:48 | 2018-08-14T10:42:19 | HTML | UTF-8 | R | false | false | 1,665 | r | test-mutates.R |
# mutate_tp
test_that("mutate_tp works",{
dt <- data.frame(
CrossProject_ID = c(rep(1,4), rep(2,2),3,4),
Project_Name = c(rep("MemP", 5), rep("MemC", 3)),
Project_Wave = c(1:3, 3, 2, rep(1,3)),
Age = c(10:12, 12:13, 14, 16, 18)
)
dt2 <- mutate_tp(dt)
expect_equal( dt2$Subject_Timepoint,
... |
43c55e4b97ea3c7d305ffa3e2d0ac2f750db4b0a | d978a612b20798e1ba38630a314a21f2e622e583 | /Scripts/Figures_and_Tables/Figure_4_Beta_diversity_Bray.R | ac349cbc6c75b40fbcb7a8a3ea98b9a6842162fa | [] | no_license | wu-lab-uva/16S-rRNA-GCN-Predcition | df7056595881e75fec2f5334ff4de32ec304fc43 | 00e9e5f120cb552518a2781fd681f866ad51c00c | refs/heads/main | 2023-07-15T22:27:03.644669 | 2021-08-31T19:26:56 | 2021-08-31T19:26:56 | 399,828,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,090 | r | Figure_4_Beta_diversity_Bray.R | #
library(RasperGade16S)
library(phyloseq)
library(vegan)
library(ggplot2)
library(ggpubr)
# read in command arguments
arg = commandArgs(TRUE)
# setup parallel running
if(Sys.info()["sysname"]=='Windows'){
numCores = 1
}else{
numCores = min(detectCores()-1,as.numeric(arg[1]))
if(is.na(numCores)) numCores = 1
}
# ... |
8de394432c7e7722ebe90bd31bddee89b12b9cb4 | 83d93f6ff2117031ba77d8ad3aaa78e099657ef6 | /man/gdfnotebook.Rd | e64685a8cebd833da28e4b26fae95b648b930750 | [] | no_license | cran/gWidgets2 | 64733a0c4aced80a9722c82fcf7b5e2115940a63 | 831a9e6ac72496da26bbfd7da701b0ead544dcc1 | refs/heads/master | 2022-02-15T20:12:02.313167 | 2022-01-10T20:12:41 | 2022-01-10T20:12:41 | 17,696,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 663 | rd | gdfnotebook.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gdfnotebook.R
\name{gdfnotebook}
\alias{gdfnotebook}
\alias{.gdfnotebook}
\title{A notebook container for many \code{gdf} instances}
\usage{
gdfnotebook(items = NULL, container = NULL, ..., toolkit = guiToolkit())
.gdfnotebook(toolkit, items... |
90dae494eea8ebf81fe0cad9f27de8a22933ff7f | d60895dd87c4c841513db24e43aa55d1bc10fce0 | /lib/mouse.food.r | fead86f68a9350247c8cbf2f2c94e894971b0454 | [] | no_license | knights-lab/IMP_analyses | a4fa294fbd1d443d7de0557348201f00e0dfa259 | 7f5c37092e7bd580e6e6dd8e88db482962090053 | refs/heads/master | 2021-07-08T04:42:44.269401 | 2021-05-08T14:57:49 | 2021-05-08T14:57:49 | 70,734,193 | 4 | 5 | null | 2019-05-31T22:31:01 | 2016-10-12T19:28:29 | JavaScript | UTF-8 | R | false | false | 6,340 | r | mouse.food.r | # calculates the average food eaten per mouse based on all of the different cages
calc.food <- function(ggdata)
{
chow <- unique(ggdata[,c("Mouse.ID", "Cage.ID", "Food.Weight.Out", "Food.Weight.In", "Week")])
weeks <- unique(ggdata$Week)
gg_chow <- NULL
# do this by Mouse.ID because of some issues with ... |
ee69cfaac6e890ecdaafe2ffa816c9c19aa64e79 | 820f8aca9a690688cd5a48caa9038fbeff6ba971 | /R/RcppExports.R | 1abed4b43e2dd6adc0c546b7983b543369eb079e | [] | no_license | jkennel/transducer | 07374d4967498762cb692e71068bf89b6f026bc3 | 881ae6eb2570a15c6dc6aa91a69308183c3023f2 | refs/heads/master | 2021-06-11T18:14:03.474803 | 2021-06-04T12:22:17 | 2021-06-04T12:22:17 | 195,269,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,954 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' rbr_raw_to_pressure
#'
#' @param x
#' @param calib
#'
#' @return
#' @export
#'
#' @examples
rbr_raw_to_pressure <- function(x, calib) {
.Call('_transducer_rbr_raw_to_pressure', PACKAGE =... |
8e78324dbc205491a8ab983b541b9fac25cfbfb0 | 28f63a13fefb546619bfe1b5b70dfd4b3d6f106a | /paper/code/RunParmsFile.R | 267b28a0f6729aaa1e6364fe3936138d2993e8c6 | [
"MIT"
] | permissive | mishra-lab/covid-GTA-surge-planning | 1a5e303606f32d0afb70d29e687191c06af4d43e | 8425f91c7dc8b3314c958476ed2609d9ba91a77c | refs/heads/master | 2023-01-20T08:08:20.106743 | 2020-11-26T15:23:01 | 2020-11-26T15:23:01 | 247,745,255 | 3 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,107 | r | RunParmsFile.R | #############################################################################################
# (1) can call in the parameter files,and save accordingly
# set up as a function RunParmsFile which has argument = the parameter file name in ""
# set up a function RunParmsFile_SampleImportCases if we want to vary sampling o... |
8c92768c133128b20fa01ce6d42ad1e92a1b3702 | 1c01ed7a5e79c5e281c0ede3406f702f79766882 | /man/toss.tail.Rd | ed61cfebdc0d6bd6027c991d88d069d831c36445 | [] | no_license | christiantillich/AnaliTools | 19e738e4084be1678ff7aeda45aa9f146de5ac1d | cab56ef7729f1d9692af5241ac5eca60060c3045 | refs/heads/master | 2020-04-06T05:12:48.950283 | 2019-02-25T22:09:03 | 2019-02-25T22:09:03 | 47,645,937 | 0 | 1 | null | 2019-02-25T22:09:04 | 2015-12-08T19:53:20 | R | UTF-8 | R | false | true | 405 | rd | toss.tail.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.tools.R
\name{toss.tail}
\alias{toss.tail}
\title{toss.tail}
\usage{
toss.tail(x, n)
}
\arguments{
\item{x}{- a vector whose tail you'll be tossing.}
\item{n}{- the number of observations to replace with null.}
}
\value{
- Returns a vec... |
e8c1d70348f626105b97caacb4df39190ba0c0e2 | 4d8d1583b5122eed34a47b287eddf13d7db9776b | /main.r | 9d8f18be0435c7cf257bf4d703f73a0e0bd23edd | [] | no_license | zhouxin0/Big_data_analysis | 8f612ecedf95f29b97a4c675a3626f61ae1e23fd | b6ec2c02160eedce013ff69dd2b11c1eb3eaf306 | refs/heads/master | 2021-03-09T21:50:50.083628 | 2020-03-11T14:54:40 | 2020-03-11T14:54:40 | 246,383,846 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,225 | r | main.r | ### Load R scripts with optimizers and cost functions
source("optimizers.r")
source("cost.r")
### Load data, standardize covariate and create design matrix
## Load CSV file
simulated_data <- read.csv("simulated_data.csv", header=TRUE)
## Standardize covariate
simulated_data$covariate <- scale(simulated_data$covaria... |
b5e1380f3adbc28a10439d0880e1632c0e53d0ed | d4dcbdbeac43b97d64978e0191845a2ad3e132e5 | /scripts/quantitatives.R | 862fb4a9b58a50d55755a17de2b005d4c041cc6d | [] | no_license | jpissinis/covid_in_oncohematology | 52dbb0915c917493b183004ea051094dc9b40ea2 | cc08cee99905d5522b26d525c4b115ab70897c7b | refs/heads/master | 2023-04-03T12:51:08.170911 | 2021-04-19T01:43:22 | 2021-04-19T01:43:22 | 340,002,030 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,169 | r | quantitatives.R | #loading packages
library(readr)
library(dplyr)
library(tidyverse)
library(ggplot2)
library(lubridate)
library(writexl)
#loading the data as patients
path_name<-file.path("./raw","patients.csv")
patients<-read_csv(path_name)
#selecting the comorbidities variables
comorbidities_patients<-patients%>%select(
PLASMA,... |
33a003598efabbc9b268eb4e5bf0ce1405f90ba5 | 8da47324149b1379db0a8a703a309b64b209c698 | /man/add_column_headings.Rd | 4d8621fb3e894321a67ef3a31c204b3dc25f2199 | [
"MIT"
] | permissive | calvinmfloyd/grobblR | 82794421cabb9ade685487ad5e127ad6d6c7efb6 | 8aa6b4fec42539ce212931ce4d3755357a826e85 | refs/heads/master | 2022-06-23T04:34:02.166580 | 2022-06-01T14:25:49 | 2022-06-01T14:25:49 | 130,590,418 | 40 | 4 | NOASSERTION | 2021-09-14T03:20:37 | 2018-04-22T17:24:59 | R | UTF-8 | R | false | true | 1,595 | rd | add_column_headings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/headings.R
\name{add_column_headings}
\alias{add_column_headings}
\title{Add column headings to grob matrix}
\usage{
add_column_headings(mat, headings = list(), heading_cols = list())
}
\arguments{
\item{mat}{The grob matrix object the column... |
10961b5484eea5b37f0a110a6745a20be593e23b | 028cee02cc54843314b7ab5d87e916855fa4de6e | /inst/deprecated/R/Mojave_data.R | d32a18423b7958740787feef87941ef544a3a018 | [] | no_license | pnnl/glmnetLRC | adc804676cce6056962c34a2a7f9326b616fab88 | 23418ce72f26c5c3acdf1f8f4f3c21547d499d0a | refs/heads/master | 2021-01-21T04:50:52.523118 | 2016-07-01T17:43:32 | 2016-07-01T17:43:32 | 51,790,257 | 3 | 5 | null | 2016-07-01T17:43:34 | 2016-02-15T22:26:56 | R | UTF-8 | R | false | false | 308 | r | Mojave_data.R | ##' Environmental data from the Mojave desert
##'
##' @docType data
##' @format A dataframe with 633 obs and 11 variables, \code{cheatGrass} is the response
##' variable, the rest are location or predictor variables
##' @name Mojave data
##' @examples
##' data(Mojave)
##' head(Mojave)
##' str(Mojave)
NULL
|
ae9a7f80a8686757ce179afcb314e518319baf40 | 32235d071051a6da8ff9c608a1eb3bc1e436f2b6 | /man/get_question.Rd | f3a6eab6d7f5fa626ef649c53a3e08ce9c511b7e | [
"MIT"
] | permissive | rbrellen/hksreviewr | 331ebef3d77e6255f4b9720bedb4f5f0b69a68b7 | c140b6524194de5d978980d2410b8a872756ee91 | refs/heads/master | 2020-03-27T21:30:29.608731 | 2018-09-03T15:27:27 | 2018-09-03T15:27:27 | 147,150,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 574 | rd | get_question.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{get_question}
\alias{get_question}
\title{Get Question}
\usage{
get_question(lines = lines, question_number)
}
\arguments{
\item{lines}{Input file represented as list object (output of \code{import_lines}).}
\item{q... |
0c285e01cbde5d40218783e6d053740e434a54c9 | 7430d9b386f6b20e13ec5ee97bed5d434b9c6280 | /complete.R | fb8a1b7069994b0d1cbbf7df5664c98d0ed0a3ce | [] | no_license | ramanathan89/ProgrammingAssignment2 | a4e450dcf793f06a7c6bf677c2230711ee4beb7c | a3a4d1ef59ceb44cd15d73348f0c3b98270482f9 | refs/heads/master | 2020-07-11T16:44:41.061810 | 2015-04-26T19:38:37 | 2015-04-26T19:38:37 | 34,178,830 | 0 | 0 | null | 2015-04-18T19:05:16 | 2015-04-18T19:05:16 | null | UTF-8 | R | false | false | 630 | r | complete.R | complete <- function(directory = "specdata", id = 1:332) {
# formating the sequence into file names
userSelection <- sprintf("%03d.csv", id)
# prepare filenames w.r.t working directory
filesPrepared <- paste(directory, userSelection, sep = "/")
# prepare a list of dataframes w.r.t each csv file
lis... |
ed21adedcf0cfef2e34cbc021d2aedefb0ae223a | bcb321dfd1181ec508d34639948d15aefcdfe8bf | /SequencEnG/SoftwareDecisionSupportSystem/server.R | 4fa6b238ab7c76f2b32aded6871a0d3965660ce4 | [] | no_license | washpots/Training_Education_code | 2bb10180b1bd3011da0a7ef2c819f1c480f58e24 | d4c08ee8dd3f6ad270045c9800a741a669b03f15 | refs/heads/master | 2021-01-17T04:25:40.611590 | 2017-02-23T16:27:21 | 2017-02-23T16:27:21 | 82,852,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,938 | r | server.R | library(shiny)
# variables
newnode <<- character()
ncount <- 0
sr <- 0 # id of selected recommendation table, triggers update of decision support table
x0 <- 'multiple'
pipelinestep <<- character()
mypipefilter <<- character()
userpipe <<- create_graph()
tdecisionTable <- data.frame()
... |
7412069b572a4d075925d87c35c18424186f68fa | 203e755d91d27365117ca10f2215709a2c0fea1c | /R/bhpm.cluster.1a.hier3.lev2.R | 1b6e55eab801c9a06a308b6c07c3fabaae8d3f53 | [] | no_license | rcarragh/bhpm | ab447e4fbaf47953e50161f1f4bee8a6c15c7022 | f8847db6eb116ef9b783cbfcab48a801e2455f67 | refs/heads/master | 2021-07-05T00:15:10.173741 | 2020-10-28T12:27:48 | 2020-10-28T12:27:48 | 191,961,611 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,741 | r | bhpm.cluster.1a.hier3.lev2.R | # bhpm.cluster
# bhpm: Cluster Analysis wrapper
# R. Carragher
# Date: 29/06/2018
Md <- new.env()
Md$Id <- "$Id: bhpm.cluster.1a.hier3.lev2.R,v 1.13 2020/03/31 12:42:23 clb13102 Exp clb13102 $"
bhpm.cluster.1a.dep.lev2 <- function(cluster.data, sim_type = "SLICE", burnin = 10000, iter = 40000, nchains = 3,
global.... |
e4367a1ff0ce07b53684846599eba6c4deea7951 | 7075471c1b29d89c7d08cc3c72ef888609e76dd1 | /ui.R | ad26a45fa3e555a3205745f128d846c459542d0b | [] | no_license | manshrestha/Shiny-Application-and-Reproducible-Pitch | ddee2a7157a4666f70710a205aebad701007854e | f340a695ef3566abe56b68b6dd5dee4c4aca9d99 | refs/heads/master | 2020-12-30T22:32:18.419172 | 2016-05-12T11:11:18 | 2016-05-12T11:11:18 | 58,634,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,511 | r | ui.R | library(shiny)
shinyUI(navbarPage(title = "Calculates Car Fuel Efficiency",
tabPanel(title = "PREDICTION",
sidebarLayout(
sidebarPanel(
h4("Predicts the fuel efficiency of your
car ... |
35b56246321178e7a0267229ec21b2553e31d846 | f1de9ab672d72d706324f9f6d597f46f601622bf | /src/linear_model_and_plot.R | 3df97c717df8758da2403fa50bf06dd6e57d2a1e | [] | no_license | rq1995/DSCI_522_milestone | a3ecb8f259dbe3edd939e53a9d2cc51ebc5649ce | 483db6d8d9740858ae1d2ea5101cad7074ff7d26 | refs/heads/master | 2021-09-04T19:35:21.875333 | 2018-01-21T20:15:57 | 2018-01-21T20:15:57 | 112,911,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,521 | r | linear_model_and_plot.R | #! /usr/bin/env Rscript
# linear_model_and_plot.R
# Stephanie Xu, Dec 2016
#
# This script can fit linear model and plot it based on data from a .csv file.
#
# Usage: Rscript linear_model_and_plot.R titanic_clean.csv
# read in command line arguments
args <- commandArgs(trailingOnly = TRUE)
input_file <- args[1]
libr... |
f7ae5372b870753e673848c8a74960311d00983e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/nlme/examples/corRatio.Rd.R | 821d733a29d0712702f1013d51a88b049b7d76ff | [] | 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 | 849 | r | corRatio.Rd.R | library(nlme)
### Name: corRatio
### Title: Rational Quadratic Correlation Structure
### Aliases: corRatio
### Keywords: models
### ** Examples
sp1 <- corRatio(form = ~ x + y + z)
# example lme(..., corRatio ...)
# Pinheiro and Bates, pp. 222-249
fm1BW.lme <- lme(weight ~ Time * Diet, BodyWeight,
... |
356c51eb3a6da63906d9818ee8fc7a699d0a20cf | 4d7e214578bea5355d869f596e04b6800e0c654b | /R/bilsalget.R | 56fd40e89ae550595cea55004554a5f1def50fcd | [] | no_license | dmi3kno/zoe | b02821f02ac9590de0b9e816867475175553a8a6 | b5e58d28c0db95e4840bdd7a286f04638e8332fb | refs/heads/master | 2020-03-23T19:00:31.150632 | 2019-02-09T21:05:38 | 2019-02-09T21:05:38 | 141,947,963 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | bilsalget.R | #' New car registrations in Norway data for 1999-2018
#'
#' Selected monthly data about new car registrations in Norway for 1999-2018.
#' Raw data is presented in "long" format for several data series and from different sources.
#'
#' @source Opplysningsrådet for Veitrafikken AS (OFV AS), webiste
#' <http:://www.ofvas... |
5b02e930b4253c1e2dedc9b92da5c9f4b4966e1f | 3f265708edbf54676b492987a916eab569c99b3b | /split_related_pairs.R | 301b19a4410ecc30bb3e0ed529ca9728849a883c | [] | no_license | jmoggridge/Labrador_ACL_rupture_GWAS | e95e1329e26f6c404e6d2ffa8d365c479866eb5d | 92fd1da7c03c98c8424827dd1d5f47c6c2f4b59a | refs/heads/main | 2023-04-05T13:57:34.750968 | 2021-04-08T17:02:11 | 2021-04-08T17:02:11 | 350,905,722 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 414 | r | split_related_pairs.R | # tutorial needs a script to select out related pairs. (not by hand)
# generally, want to drop the member with more missing data.
# could try to find the individuals most related to others?
# df <- read.table("plink.imiss", header = T)
# snps <- read.table("min0.2_something from last part of QC)
# pick <- function(ro... |
e171d8d28e5cf1dd557ccbd0e8a8cbbea9539c26 | b28381c59a503d10dd3cb2e42a5d25430c644abe | /shinyapp_craigslist_housing_browser/server.R | 6688cea31d862628ce9eafb9f8cff96d7c4c3248 | [] | no_license | sueyic/shinyapp-craigslist-housing | c150801e9212b3db732d8192bc674e1b6ac7c051 | 7be7cb599f4edd37501b6d446d06596096514151 | refs/heads/master | 2021-01-10T03:06:35.406464 | 2015-12-07T05:15:58 | 2015-12-07T05:15:58 | 46,397,033 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,715 | r | server.R | library(ggplot2)
library(httr)
library(plyr)
library(shiny)
library(stringr)
library(XML)
URLS = list(
'newyork' = 'http://newyork.craigslist.org/search/aap',
'sfbay' = 'http://sfbay.craigslist.org/search/apa',
'seattle' = 'http://seattle.craigslist.org/search/apa'
)
fetchTime <- NA
# A comb... |
a72283e4c270bfc4086301c355044013ea7ac7ae | 56a9d559179735c964590ecca0a7353fd437d8d8 | /R/vie-getNetwork.R | 5c55eab6abec2cc19302c348c42a808167899ecf | [] | no_license | leemh5544/peter | 02c041ea31d32a574be961d4c7df6cdb6754b5c5 | 621e1fc1a5fe3097bdbd92c7a0b64f54562e3d3e | refs/heads/master | 2021-01-18T08:58:10.199960 | 2013-09-16T09:45:52 | 2013-09-16T09:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,907 | r | vie-getNetwork.R | ### Functions to obtain, parse and store locally Vienna's Wiener Linien network
### data. Note: This data is provided by the Vienna city government under a
### CC-BY license.
##' Download Vienna's Wiener Linien network data
##'
##' This function provides access to Vienna's Wiener Linien network meta data.
##' Data ... |
865c0a8b73805f366d051f8528dd54612450416d | b3ba1d1795e2374ca3b8c25043362ec8d2b4b479 | /man/RunModel.Rd | d052ee31879dce95ee468d5a0a54707340614a56 | [] | no_license | xuzhenwu/airGR | a335b982cf56e9d35b048822a0ef3c940ae4b1f7 | 7f407b01c06397f2023e62118c8408e567ca04e7 | refs/heads/master | 2023-02-17T19:04:24.846715 | 2020-02-28T15:20:06 | 2020-02-28T15:20:06 | 280,121,172 | 0 | 0 | null | 2020-07-16T10:11:24 | 2020-07-16T10:11:24 | null | UTF-8 | R | false | false | 2,388 | rd | RunModel.Rd | \encoding{UTF-8}
\name{RunModel}
\alias{RunModel}
\title{Run with the provided hydrological model function}
\description{
Function which performs a single model run with the provided function over the selected period.
}
\usage{
RunModel(InputsModel, RunOptions, Param, FUN_MOD)
}
\arguments... |
a8ff5a964fb041941bb086dc34c4dabf490850e4 | 2df0cbb9669bc66e9ebea1f4cf1bbc29a13fa548 | /example-MIP.R | 4f86d992399a8f76c047787141d956e02610ca14 | [] | no_license | xgsu/MIP | d93ef394ab5b300d154b5b71587e095fb43d5648 | 68c81bd4efc2ada2d33f44a55bc0cf0ca728d383 | refs/heads/master | 2021-04-09T14:41:28.720849 | 2018-03-18T14:42:23 | 2018-03-18T14:42:23 | 125,734,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,963 | r | example-MIP.R | #######################################################
## L1-REGUARED MULTIPLE-INFLATION POISSON MODEL (MIP)
## with Local Quadratic Approximation (LQA)
#######################################################
# WRITTEN BY: XIAOGANG SU, PH.D.
# UNIVERSITY OF ALABAMA AT BIRMINGHAM
# EMAIL: XGSU@UAB.EDU
##########... |
2233445d6f9826fb06bbb05f8a168658743f0136 | ab73d60d1734a8d08eec9c410744b4441750ad95 | /R/checkVariableValidity.R | f11f05fb8cd2675e9956b20c67436587e53b0a9e | [] | no_license | gsimchoni/yrbss | d608ef13375c3a4a5901b4aef99709e534e0c476 | c181dc14e7429ef37c65da4ca8db5903e3fa4d37 | refs/heads/master | 2020-09-05T05:25:36.680035 | 2017-06-18T16:14:41 | 2017-06-18T16:14:41 | 94,413,209 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 572 | r | checkVariableValidity.R | #' Check the validity of a variable name
#'
#' Helper method to check the validity of a variable name.
#'
#' @param variable a string representing the name of the desired binary variable
#'
#' @return an ERROR if the variable is NULL or not in the yrbss_questions_binary
#' list of questions
#'
#' @examples
#' checkVari... |
8254d4420a65e4a8403bf0e909737cbab5df309f | 2432d53374caf319fa5ae13e4f304b22b3f7c425 | /app.R | 61af6054b4f058dbe0feae0769e4be79e929d92c | [] | no_license | databrew/steppingup | 3749a9b40e52675f0a5ce7b78c7e766ca7a14c45 | e43a1befcc701d56e81c085c2b9508af3b36ee90 | refs/heads/master | 2021-09-07T16:21:13.433360 | 2018-02-26T01:55:04 | 2018-02-26T01:55:04 | 108,323,819 | 0 | 0 | null | 2018-02-25T19:10:43 | 2017-10-25T20:41:46 | HTML | UTF-8 | R | false | false | 46,444 | r | app.R | library(shiny)
library(googleVis)
library(DT)
library(leaflet)
library(RColorBrewer)
library(networkD3)
options(gvis.plot.tag = 'chart')
library(shinyBS)
library(shinyLP)
library(ggplot2)
library(shinythemes)
source('global.R')
ui <- dashboardPage(skin = 'purple',
... |
e51d8554fac259a7e7396affbbfa0d00312b9aa2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BSDA/examples/Sat.Rd.R | 50e61ffa13bc5ec523e685baa646856ffa52d17d | [] | 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 | 435 | r | Sat.Rd.R | library(BSDA)
### Name: Sat
### Title: SAT scores, percent taking exam and state funding per student by
### state for 1994, 1995 and 1999
### Aliases: Sat
### Keywords: datasets
### ** Examples
Sat94 <- Sat[Sat$year == 1994, ]
Sat94
Sat99 <- subset(Sat, year == 1999)
Sat99
stem(Sat99$total)
plot(total ~ percent,... |
ed3be4b4252ce42e1ea135410e181b1f48906fa1 | a108751f3b11f32f345cc07204e0f27819d83b7a | /scripts/data_prep/raw_to_prepared_Workplaces.R | 67c12f30456d3317d37ef73a1ce8c48b657a5116 | [
"MIT"
] | permissive | alan-turing-institute/uatk-spc | d2b276b434b437eae90500e881d0c2a519f58a77 | 753e9888137c19050dde1b17646be52a74c9cfff | refs/heads/main | 2023-08-31T07:46:36.071934 | 2023-08-01T18:37:33 | 2023-08-01T18:37:33 | 479,038,905 | 14 | 9 | MIT | 2023-08-02T09:44:36 | 2022-04-07T15:15:53 | Jupyter Notebook | UTF-8 | R | false | false | 11,790 | r | raw_to_prepared_Workplaces.R | library(dplyr)
library(tidyr)
library(rgdal)
library(sp)
library(foreign)
library(reshape2)
library(readr)
library(stringr)
#library(ggplot2)
folderIn <- "Data/dl/"
folderOut <- "Data/prepData/"
APIKey <- Sys.getenv("API_KEY")
set.seed(14101066)
createURL <- function(dataset,geogr,APIKey,date,other){
url <- paste(... |
349452ecb36323024cb8fb516772454bfe7d5eb7 | e389b5d62bf21948b61ba6944a4f72960a804a7b | /delta_hedging_for_CEVmodel(notradingcost).R | a7ea835482dadbc76ff1577f2e9f46afc77b6598 | [] | no_license | yedidv/fin_sim_comp_hedging_asset_pricing_model | f09a4e352186082a796a44e529ba2f818bbf6c90 | 386800f64651aed50a8f8298da3e3d3db0119ddb | refs/heads/main | 2023-04-23T09:52:09.346077 | 2021-05-07T23:07:55 | 2021-05-07T23:07:55 | 358,719,633 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,764 | r | delta_hedging_for_CEVmodel(notradingcost).R | rm(list = ls())
library(tidyverse)
library(Matrix)
library(plotly)
library(moments)
#setwd("F:/Spring/Financial computation and simulation")
source('asset_price_model.r')
source('misc_funs.r')
set.seed(2654)
## Read the data ####
n_stocks <- 1
prices <- Read_Data(n_stocks)
prices %>% head()
## Calculate Retu... |
1d69b84a25faa066e38dbb4c98d22c4a4b922ce6 | 5d5d7785f5ce2ff377ebec29d74382652502c1d8 | /man/pairwise_count.Rd | 773aa50c0b9da164d1aa0a2044cd7c07bd377fdd | [
"MIT"
] | permissive | standardgalactic/wpa | d7256e719732c7c3f067e88d253e600cd1d66a06 | b64b562cee59ea737df58a9cd2b3afaec5d9db64 | refs/heads/main | 2023-08-10T19:11:03.211088 | 2021-09-08T13:40:35 | 2021-09-08T13:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,821 | rd | pairwise_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairwise_count.R
\name{pairwise_count}
\alias{pairwise_count}
\title{Perform a pairwise count of words by id}
\usage{
pairwise_count(data, id = "line", word = "word")
}
\arguments{
\item{data}{Data frame output from \code{tm_clean()}.}
\item... |
4e1c34d300ccb7ddfe62096482f51bcc5a2f2a36 | 5292f1bedc1ed2ce5a48008fdb38c654514a697c | /man/bagging.Rd | c55da9e1eac0a28d30b991fab38190d43b50caba | [] | no_license | vishalbelsare/HDeconometricsBeta | b074a2e485523238b790d2c4f3f19299bc8135ed | 6a0266a4eefae665664d4ede8f51a7ea1c6d5063 | refs/heads/master | 2020-04-03T21:42:32.820685 | 2017-03-21T00:47:44 | 2017-03-21T00:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,988 | rd | bagging.Rd | \name{bagging}
\alias{bagging}
\title{Estimates bagging coefficients for a given pre-testing procedure.}
\usage{
# Method 1:
bagging(y,X,R=100,l=5,sim="fixed",pre.testing=c("joint","individual"),fixed.controls=NULL,...)
# Method 2:
bagging(y,X,fn,R=100,l=5,sim="fixed",pre.testing="personal",...)
}
\description{
This ... |
73b64a5013c06660df70d40af6f8e04494ae8e20 | f2d3d9d517a121ec7c48cc6c1ad1440fcc8a4188 | /man/interp_param.Rd | 18b512c81377a03002533e58b4b7039538a95d9d | [] | no_license | asgr/ProSpect | 77cf8dc72bd9c1101883cb05581f88ab40d68d82 | 9757ae9a46f63cb14c2445cde9b9c2b79ce2d8d1 | refs/heads/master | 2023-05-26T14:42:16.862494 | 2023-05-22T08:43:24 | 2023-05-22T08:43:24 | 111,638,670 | 14 | 3 | null | 2022-11-02T06:06:45 | 2017-11-22T05:05:46 | R | UTF-8 | R | false | false | 3,531 | rd | interp_param.Rd | \name{interp_param}
\alias{interp_param}
\alias{interp_quick}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Interpolate weights for a vector of values
}
\description{
Utility functions to interpolate the lineat of log spaced weights for a vector of values. This can be used to create interpolati... |
f1244003a8023a94021f0764ca9783c37c31c2e8 | c44582cb89d12fae3667c602bd924cc286d175c4 | /tests/testthat/test-get_references.R | de839de26c8db23bdc870d265ce56c2d5cd3ce5b | [] | no_license | kbroman/rebi | a4837c36909c91cbe02b1b33a277c461eccba176 | 262bd147ca8609ca100658e7a81c8addf5d773f3 | refs/heads/master | 2020-12-03T08:15:26.197343 | 2014-07-01T15:28:08 | 2014-07-01T15:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | test-get_references.R | # test for get_references
context("get_references")
my.data <- get_references(ext_id="PMC3219685", src = "PMC")
test_that("dimensions", {
expect_that(ncol(my.data), equals(15))
})
test_that("class", {
expect_that(my.data, is_a("data.frame"))
})
test_that("value", {
expect_that(unique(unlist(my.data$src_ext_id... |
e078453241d82c4fccbc2e0c7ff184276853d70c | 29585dff702209dd446c0ab52ceea046c58e384e | /eggCounts/R/fecr_models_stan.R | 494eb2c3655bb98e4353cbab7fb8e23036e9d6f7 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,559 | r | fecr_models_stan.R | # set default values for the priors
fecr_setPrior <- function(muPrior, kappaPrior, deltaPrior, phiPrior){
if(missing(muPrior)) muPrior = list(priorDist = "gamma",hyperpars=c(1,0.001))
if(is.null(muPrior[["priorDist", exact = TRUE]])) muPrior$priorDist = "gamma"
if(is.null(muPrior[["hyperpars", exact = TRUE]])) m... |
20dd31d6b0af3c9af1ec2fddd9cd1df3537a7c18 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/FitAR/examples/JacobianK.Rd.R | 6fbf72ca9196dd8745834d99bbd2f17c5f7e6e3e | [] | 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 | 159 | r | JacobianK.Rd.R | library(FitAR)
### Name: JacobianK
### Title: Internal Utility Function
### Aliases: JacobianK
### Keywords: ts
### ** Examples
JacobianK(rep(0.8,4),3)
|
f5e51d9110f8e182f7d9a65a524e72d8b5ba0074 | 1abd977b5e5506e33e33596dc519047ba06b531e | /R/retrieve.probesets.R | 3f3e682c33dcd8ecf448cec8b1513314dc816bf0 | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | openresearchlabs/HITChipDB | a46c2b69a31d2d0eff290a318b5a2171c40c2d06 | 138b714ae4f14652479bd2cac9e42c64cc944ca0 | refs/heads/master | 2022-09-22T15:03:33.149542 | 2020-06-03T08:02:28 | 2020-06-03T08:02:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,070 | r | retrieve.probesets.R | #' retrieve.probesets
#'
#' List probes for each probeset
#'
#' @param tax.table data.frame with oligo - phylotype
#' mapping information
#' @param level phylotype level for probesets
#' @param name specify phylotypes to check (optional)
#'
#' @return A list. Probes for each phylotype.
#'
#' @export
#' @referen... |
26b890767f3fd723c9d21c5b62e32b5066864d5f | e5283914d18d8e09a8d279bbcd184506ff7d44b1 | /scripts/ucs_modernize_0923.R | e61afe88dc60969beb86f8bcf872380e8315e1f2 | [] | no_license | criticalgeo/satinnovation | 4aa408d5737463f773dbe767dd6c7609c69f72b0 | f929798487675f866a5caabbedcbc8b15ad99c93 | refs/heads/master | 2022-12-25T12:34:45.576283 | 2020-10-08T19:45:51 | 2020-10-08T19:45:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 438 | r | ucs_modernize_0923.R | # REPLACING NAMES 09/23 FROM MANUAL SEARCH (MODERNIZE) #
ucs_sats <- read.csv("data/processed/ucs_sats_corr_0914.csv")
replace <- read.csv("data/processed/name_replace_0923.csv")
apply(replace, 1, function(x) {
ucs_sats[ucs_sats$opown == x[["database_name"]], 2] <<- x[["replacement"]]
ucs_sats[ucs_sats$contractor... |
8c56ae3d962f6b84c156ea078165ada8febbee2b | d00503fecf1d364f53670cf938a46e8837e02016 | /run_analysis.R | 738b7a2e3f314a44fb6e5b5aedb5dd53e530ca91 | [] | no_license | EGovender/Getting-and-Cleaning-Data | 0d54b4608d28d1598c0a6008df965695cccdf0a3 | 8bc17ff3025e4fa5e05ee67fa8d8dfb1b9155d0a | refs/heads/master | 2021-01-01T05:28:16.064636 | 2016-04-24T21:00:11 | 2016-04-24T21:00:11 | 56,992,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,003 | r | run_analysis.R | ## 1.Merges the training and the test sets to create one data set.
##Read training dataset
X_train<-read.table("./getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset/train/X_train.txt",header=FALSE)
y_train<-read.table("./getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset/train/y_train.txt",header=FALSE)
subj... |
ba33fed9fd081a7cc75710a7e211a18123f4247d | b46e30a53da84b294a155d29002fd9680b992769 | /ui.R | 23c80cc80b54f6b7b87628db593a856ae91c6378 | [] | no_license | newonewon/DevelopingDataProducts | 4862ffa493fd4a7b4cb7c0001701140974ed17af | 5d625f51643b1b1b3e603f8c1d6833f5997b4b6d | refs/heads/master | 2021-01-20T18:28:25.671232 | 2016-08-16T07:51:01 | 2016-08-16T07:51:01 | 65,708,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,557 | r | ui.R | # Coursera - Developing Data Products- Course Project
# ui.R file for the shiny app
# This app was developed to help people choose the best car for their trip, using mtcars dataset, from [R]
library(markdown)
shinyUI(navbarPage("Select the best car for your trip",
tabPanel("Table",
... |
66b3acd0115cac65424c2b9ea6dc6cf79c26405c | d00a38a82667b4ad6b3f13874b117d5809f487ee | /abc.R | fe3428776f714d0a6d550c9d60089bef9e9904a9 | [
"MIT"
] | permissive | RonRichman/ABC_pricing | e8a63cd9b5edc0694997bb9cdf580a93ff130998 | 19ed99cc3d5463794b2d398d5cfb53a9f7ffe413 | refs/heads/master | 2021-04-28T20:34:26.873655 | 2018-02-19T05:08:21 | 2018-02-19T05:08:21 | 121,928,422 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,995 | r | abc.R | require(foreign)
require(data.table)
require(plyr)
require(maggritr)
require(reshape2)
require(broom)
require(data.table)
require(reshape2)
require(rgl)
require(stringr)
require(gnm)
require(dplyr)
require(ggplot2)
require(RColorBrewer)
require(gridExtra)
require(scales)
require(foreign)
require(lubrid... |
ac87f377c61569def704c12118224c0bf1247a94 | 4b92cdefa377126dfbf2e79a831d82ec10f083b1 | /inst/unitTests/test_functions.R | d8b3defaa1003ac5dc4fcbda7c37d88fb961a6bf | [
"LicenseRef-scancode-us-govt-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | DataSciBurgoon/aop | afe589a69a9f5431f59e860a1e0e49fdca1f04ed | 323b08977970cc7f76eeccb1e299b9844a9e0be7 | refs/heads/master | 2020-04-08T15:04:56.472133 | 2015-09-29T15:54:41 | 2015-09-29T15:54:41 | 41,174,739 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 442 | r | test_functions.R | test_aop_backdoor <- function(){
library(graph)
library(rjson)
steatosis_json_file <- system.file("extdata", "steatosis_aop_json.cyjs", package = "aop")
steatosis_aop <- convert_cytoscape_to_aop(steatosis_json_file)
steatosis_aop_graph <- convert_aop_to_graph(steatosis_aop)
checkEquals("389", aop_back... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.